1
Vote

Embeded html file

description

Can you add embeded html file like this ?
 
    /// <summary>
    /// Initializes the web browser control
    /// </summary>
    public void InitMap()
    {
        if (System.IO.File.Exists(htmlLocation))
        {
            vEarthBrowser.ObjectForScripting = this;
            vEarthBrowser.Url = new Uri(htmlLocation);
        }
        else
        {
            var assembly = System.Reflection.Assembly.Load("VEarth");
            using (var stream = assembly.GetManifestResourceStream("VEarth.VirtualEarth.html"))
            {
                vEarthBrowser.DocumentStream = stream;
                stream.Flush();
                stream.Close();
            }
        }
    }

comments

Curchy wrote Feb 5, 2011 at 8:39 PM

It integrated in the latest checkin

wrote Feb 14, 2013 at 1:25 AM