Get Longitude and Latitude from Bing Maps
To get longitude and latitude coordinates from Bing Maps, follow these steps:
- Position the map center on your point of interest
- Type this into your web browser’s address bar:
javascript:map.GetCenter()
- Hit enter or click an appropriate button to query the address
If you are using a browser with a lot of built-in security roadblocks like Internet Explorer, you may have to acknowledge security warnings before javascript code will execute.
Comments(4)
You beauty!
Optionally, if you have Firebug installed in Mozilla Firefox, go to the Script tab, then in the right pane and where it says “New watch expression…” enter “map.GetCenter()” and press enter or go to the Console tab, and in the right pane enter the same and hit Run.
Hey thanks, man!
Thank you very much, it’s really helpful for me :)