locked
C#, windows forms and bing maps RRS feed

  • Question

  • Hi,

    I am new in C# and I wish to write a standalone desktop application that will show markers in bing maps. 

    Can some one please explain me how to do it. Is there a way to do it using Windows form?

    Thanks in advance.
    Saturday, November 21, 2009 12:27 AM

Answers

  • Before we go to far into this, just make sure you know ifyou use Bing maps you will still need an internet connection to retrieve the map tiles. If you need this to work offline too then would be better off using the MapPoint CD product. I believe MapPoint 2010 was just released. If needing an internet connection is alright then you can use either the Bing Maps AJAX control or the Silveright control. The AJAX control is usually hosted in a web browser control and controls are created to tie the javascript to .NET event handlers. If you use Silverlight control, which uses Silverlight 3, you should, in theory be able to run it out of the browser as a Silverlight application, although I haven't heard of anyone doing this yet.

    Here is a good example of how to host the AJAX control in a desktop application: http://www.codeproject.com/KB/miscctrl/Virtual_myEarth_Control.aspx

    Windows Live Developer MVP - http://rbrundritt.spaces.live.com
    Saturday, November 28, 2009 10:29 PM
    Moderator