To compile and run this project, you need to have the following installed:
For the SurfaceVEMap, you'll need either a Microsoft Surface device or the Microsoft Surface SDK Workstation Edition, including the simulator.
The source code project files are for Visual Studio 2008.
Visit the Releases tab above and download the binaries.
Create or open your WPF project in Visual Studio and add a reference to InfoStrat.VE.dll for WPF apps:
Add both InfoStrat.VE.dll and InfoStrat.VE.NUI.dll for Surface apps:
For Windows 7 Touch apps, add InfoStrat.VE.dll, Infostrat.VE.Windows7Touch.dll, Wnidows7.Multitouch.dll, and Windows7.Multitouch.WPF.dll.
Add the namespace reference:
Then add a VEMap (or SurfaceVEMap) control to your XAML. (Alternately instantiate it in code and add it to the UI tree manually.)
Now you are good to go! Try adding VEPushPin objects as children to the VEMAP and set the Latitude and Longitude properties of VEPushPin.