none
bing map geocode reverse RRS feed

  • Question

  • hello

    my english is not good

     

    I can get coordinate it mouse click but

     How can I get adress with the mouse  click ? 

    example : 34.55434 , - 34.43432   >> country street 

    thank you

     

    my project :javascript

     

      Microsoft.Maps.Events.addHandler(map, 'click', displayEventInfo);

     

    function displayEventInfo(e) {

        if (e.targetType == "map") {

            var point = new Microsoft.Maps.Point(e.getX(), e.getY());

            var loc = e.target.tryPixelToLocation(point);

            x.SetText(loc.latitude.name);

            y.SetText(loc.longitude.name);

            zoom1 = map.getZoom();

            z.SetText(zoom1);

     

        }

     

     

    note : x y z = ( textbox instisname )

    I hope you understand me
     

    • Edited by ANATOLIUM Friday, November 11, 2011 2:22 PM
    • Moved by Ricky_Brundritt Saturday, March 10, 2012 12:04 PM (From:Bing Maps: Map Control and Web services Development)
    Friday, November 11, 2011 2:17 PM

Answers

All replies