Using Bing Maps In android RRS feed

  • Question

  • hello sir .

    i want to ask about how can i get the lang. & lat. by clicking on the map & getting the Click coordinate

    thanks for answering

    Thursday, August 7, 2014 9:04 AM


  • I'll assume you are using the Bing Maps JavaScript control as I'm not sure you meant to post this question in the Bing Maps REST services section of the forum.

    Add a click event to the map, then use the pixel coordinates and the map's tryPixelToLocation method to get the lat/long value of where the user clicked. There is documentation with a code sample that does exactly this here:

    Thursday, August 7, 2014 12:02 PM