Answered WPF with GPS and GoogleMap OR Any Map

  • Tuesday, June 19, 2012 2:07 AM
     
     

    Hi,

    I want to move various images dynamically in a WPF Window which has a Location Map (GoogleMap, Bing Map OR any Custom Map) consistently, based on Longitude and Lattitude I am getting for various images on windows timer refresh.  If there is no change in Longitude and Lattitude for one image, that image should not move. But rest images can move if they have some different Longitude and Lattitude.

    Please let me know if there is any idea.

    I am OK with Ajax and Javascript in Web app also.

    Thanks,

    Yogendra


All Replies

  • Tuesday, June 19, 2012 10:50 AM
    Owner
     
     Answered
    This can easily be done using Bing Maps. If you want to target WPF then use the Bing Maps WPF control as it will be easier than trying to get the AJAX control to work in WPF. Full documentation on the Bing Maps WPF control can be found here: http://msdn.microsoft.com/en-us/library/hh750210.aspx

    http://rbrundritt.wordpress.com

  • Wednesday, June 20, 2012 4:52 PM
     
     

    How to convert GPS co-ordinates to screen pixel? I have an image. I want to locate GPS co-ordinates on that image. How to get lattitude and lngitude of 4 corners of an jpg image ?


    
  • Thursday, June 21, 2012 10:19 AM
    Moderator
     
     Answered

    You can request imagery from REST Web services using the bounding box that you can only change based on your logic when the center is near on of the border.

    To answer your other questions concerning screen <> location conversion, you can take a look at this article that might help you: http://msdn.microsoft.com/en-us/library/aa940990.aspx


    MVP - Bing Maps - My blog (FR): http://blogs.developpeur.org/nicoboo/ Twitter: http://twitter.com/nicolasboonaert/