none
Is there a function to return the exact latitude and longitude? RRS feed

  • Question

  • GeolocationProvider Class give me the abilityto locate precisly in the bing map, but it does not return a value, so we can't get precise latitude and longitude information. So is there a function to return the exact latitude and longitude? Thank you.

    Wednesday, March 12, 2014 4:02 AM

Answers

  • When calling the getCurrentPosition method you can pass in some options. One of the options is a callback called successCallback. Tis callback will receive two properties, one of them is the center latitude/longitude coordinate. Take look at this same that shows how to get the center value: http://msdn.microsoft.com/en-us/library/hh125839.aspx

    http://rbrundritt.wordpress.com

    Wednesday, March 12, 2014 9:45 AM