[Nasa-exp-checkins] SF.net SVN: nasa-exp: [3739] trunk/WorldWind/bin/Debug/Plugins/VirtualEarth /Vi
Brought to you by:
baker99-bull,
vigilant
From: <wi...@us...> - 2007-03-31 19:16:04
|
Revision: 3739 http://svn.sourceforge.net/nasa-exp/?rev=3739&view=rev Author: withak Date: 2007-03-31 12:15:58 -0700 (Sat, 31 Mar 2007) Log Message: ----------- ADD-83: Make VE plugin obey global internal/external browser setting Modified Paths: -------------- trunk/WorldWind/bin/Debug/Plugins/VirtualEarth/VirtualEarthPlugin.cs Modified: trunk/WorldWind/bin/Debug/Plugins/VirtualEarth/VirtualEarthPlugin.cs =================================================================== --- trunk/WorldWind/bin/Debug/Plugins/VirtualEarth/VirtualEarthPlugin.cs 2007-03-29 20:25:56 UTC (rev 3738) +++ trunk/WorldWind/bin/Debug/Plugins/VirtualEarth/VirtualEarthPlugin.cs 2007-03-31 19:15:58 UTC (rev 3739) @@ -1,11 +1,12 @@ //---------------------------------------------------------------------------- -// NAME: Virtual Earth Plugin (Shaded) +// NAME: Virtual Earth Plugin // VERSION: 1.4 // DESCRIPTION: Maps provided by Microsoft at http://local.live.com/ // DEVELOPER: Casey Chesnut. Fix from Erik Newman, Patrick Murris... // WEBSITE: http://www.brains-N-brawn.com/veWorldWind/ // REFERENCES: //---------------------------------------------------------------------------- +// 1.5 Mar 31, 2007 Uses internal/external browser setting // 1.4 Dec 26, 2006 Fixed 'sticky tiles' issue and use ZBuffer - Patrick Murris // Extended layer grid when camera tilted above 45 degrees // 1.3 Dec 14, 2006 WW 1.4 Added normals to the mesh for sun shading - lost transparency - Patrick Murris @@ -620,7 +621,14 @@ try { string link = veLayer.GetLocalLiveLink(); - System.Diagnostics.Process.Start(link); + if (World.Settings.UseInternalBrowser) + { + SplitContainer sc = (SplitContainer)this.WorldWindow.Parent.Parent; + InternalWebBrowserPanel browser = (InternalWebBrowserPanel)sc.Panel1.Controls[0]; + browser.NavigateTo(link); + } + else + System.Diagnostics.Process.Start(link); } catch (Exception ex) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |