none
how to get address of the waypoint added using mouse drag on the route? (Bing map AJAX API) RRS feed

  • Question

  • How to get address of the waypoint added using mouse drag on the route? I am using Bing Map  AJAX API 6.3
    • Moved by Ricky_Brundritt Friday, March 9, 2012 6:29 PM (From:Bing Maps: Map Control and Web services Development)
    Thursday, June 23, 2011 9:52 PM

Answers

All replies

  • Use the Bing Maps REST services to reverse geocode the coordinate of the new location the pushpin has been moved to: http://msdn.microsoft.com/en-us/library/ff701710.aspx
    Windows Live Developer MVP - http://rbrundritt.wordpress.com | http://inknowledge.co.uk
    Friday, July 1, 2011 4:08 PM

  • map.FindLocations also works (Reverse Find)

    LL = map.PixelToLatLong(pixel); map.FindLocations(LL, GetResults); function GetResults(locations) { var s="Results for " + LL.Latitude + ", " + LL.Longitude + ": "; if(locations != null) { s+=locations[0].Name; } else { s+="No Result found."; } alert(s); }
    Wednesday, July 13, 2011 9:56 PM