Get Exact Location(Latitude,Longitude) on Mouse click on the Pushpins present on Map

Answered Get Exact Location(Latitude,Longitude) on Mouse click on the Pushpins present on Map

  • Friday, August 24, 2012 5:01 AM
     
     

    Hi experts, i Have a problem that is, I am putting some Pushpins on to the Map. After that when i ll click on any Pushpin(Pushpin Click event) it should display the exact location of that pushPin. How i should do it.  I have already followed the BingMap Platform silverlight. but i am not getting the solution.

    Please help.

    Thank you.


    saroj


All Replies

  • Saturday, August 25, 2012 4:35 PM
    Owner
     
     Answered
    The best way to do this is in the click event cast the sender object as a Pushpin and then get the location property from the pushpin. This will give you the exact coordinates that you specified for that pushpin.

    http://rbrundritt.wordpress.com