none
reverseGeocode method of DirectionsManager class is not working now RRS feed

  • Question

  • I use reverseGeocode metod to get adress by its location and all was fine. But now this method is not working. Callback funcnion never fires and errorCallback function never fires too.

    The example code is

            function mapmouseclick(e) {
                if (e.targetType == 'map') {
                    if (e.originalEvent.altKey) {
                        var point = new Microsoft.Maps.Point(e.getX(), e.getY());
                        var loc = e.target.tryPixelToLocation(point);
                        directionsManager.reverseGeocode(loc, function(a) {alert(a.formattedAddress);},function(){alert('error');});
                    }
                }
            }


    Where can I see a working example?

    • Moved by Ricky_Brundritt Saturday, March 10, 2012 12:31 PM (From:Bing Maps: Map Control and Web services Development)
    Friday, November 18, 2011 6:10 AM

Answers

All replies

  • Thanks Alexrai for reporting this issue. This got regressed in our latest release 2 weeks back and skipped our test's. We will get it fixed in the next release which will go out in few weeks. I will update this thread them the fix is live.

     

    Thanks,

    Pramil

    (Dev, Bing maps)

     

    Friday, November 18, 2011 8:45 PM
  • This issue was fixed on 8th Dec. Sorry, I missed to update this thread at that time.
    Thursday, December 22, 2011 8:44 AM