WPF / Bing Maps - Can a WPF form intergrate with GPS transmissions? RRS feed

  • Question

  • I have a rather simple WPF / Bing Map project that allows a truck to drive a route and make deliveries.  I presently plot pushpins on a Bing map and display driving instructions.  The Microsoft Surface Pro tablet will be the only device used for this.  Is there anyway to integrate my WPF form with a GPS source that shows the driver where he is at any given time?  And maybe receive voice directions from the GPS source? 
    • Edited by bobh99 Monday, March 18, 2013 1:17 PM
    Monday, March 18, 2013 1:05 PM


All replies

  • It is possible to show a users position on a map using the WPF control. Windows has a Location Services built in out of the box which will use the GPS if their is one available or will fall back to Wifi triangulation and IP address look up if online.

    The voice directions may cause a conflict with the terms of use (http://www.microsoft.com/maps/product/terms.html) see 3.2e

    Also, this sounds like an asset tracking or internal application which requires a Bing Maps license.


    Monday, March 18, 2013 5:41 PM
  • Sorry I didn't reply sooner but I got tied up with other projects.

    On my Microsoft Surface Pro tablet, I can click on Maps and then it shows me my location on a Bing map.  I assume this is the Location Services you speak of?  I can't find any info on how to use Location Services.  I would like to use this service to update my Bing map in my WPF project every 60 seconds or so and display on icon on the map of the present location.  Is this possible?  Is there any documentation on how to use this Location Services?

    Monday, April 1, 2013 10:25 AM
  • Assuming you are creating a WPF application and not a Windows Store application due to the thread title you will want to use the Location Services API that is available in Windows. You can find information on this here: http://msdn.microsoft.com/en-us/library/dd464636(VS.85).aspx

    If you are creating a Windows Store application then you will want to use the Geolocation API: http://msdn.microsoft.com/library/windows/apps/BR225603


    Thursday, April 11, 2013 3:54 PM
  • Thanks Richard!  Yes, this is what I needed.  I can never seem to find these links like in my searches.  I must not be entering the correct search patterns.  I am brand-new to WPF, Bing maps, REST, and windows development in general.  I have been doing 100% ASP.Net web development since the late 90's.   The last Windows project I did was using VB-4 I believe.  So I appreciate the help!
    Thursday, April 11, 2013 7:20 PM