Virtual Earth Programming Deck and Code

Thanks to everyone who attended the Virtual Earth Public Sector Partner Event or one of my Webcasts this week on Virtual Earth programming.  As promised, here are the download links.  I have broken them up into multiple downloads because it would be a HUGE download otherwise.

VeProgramming.zip - Full deck.  The deck has more content than what I showed during the presentation.  The focus of the presentation was demos.

VEMapControlDemo.zip - This is my implementation of the Virtual Earth Interactive SDK (v4).  However, I introduce using ASP.NET AJAX to make AJAX programming with the Virtual Earth Map Control (v4) easier.  NOTE: This code does not use the map control that shipped with earlier releases of ASP.NET "Atlas."   The code uses the standard Virtual Earth Map Control (v4).  You will need to download and install ASP.NET AJAX 1.0 Beta 2 to get the code to compile.  The code also uses the ASP.NET 2.0 AJAX Futures November CTP.  However, the assembly is already in the bin directory.

VirtualEarthAjaxControlToolkitControl.zip - This is the "proof of concept" extender control I built using the ASP.NET AJAX Control Toolkit.  The control is based on the hard work of Chris Pietschmann.  Chris built a really cool control (ASP.NET Virtual Earth Map Control) that wraps a bunch of Virtual Earth Map Control (v4) functionality into an ASP.NET 2.0 Server Control.  The beauty of the control Chris wrote is that you don't have to write a single line of JavaScript!  DISCLAIMER: This control was written as a "proof of concept" for my demos. It is "AS-IS" and not without bugs;).   Chris is working on a full ASP.NET AJAX enhanced version of his control based on the prototype.  I'll write a bit more about this in a separate post! 

WinformsEarthV4.zip - Example of how to host Virtual Earth in a .NET Framework 2.0 Windows Forms (desktop) application. This sample uses the WebBrowser control to host an html page which uses the Virtual Earth v4 JavaScript Control. It uses a feature of the WebBrowser control which allows you to call JavaScript in the hosted page from managed and managed code in the host application from JavaScript. The code is based on the "Winforms Earth v2" sample at https://www.viavirtualearth.com/vve/Gallery/Winforms2.ashx. I updated the code to use the v4 control which introduces new features like Virtual Earth 3D.

-Marc