How to find latitude and longitude of a place in google maps

Found a place in google and need to know the latitude and longitude of the place? Its simpler than it looks.
This works only if you found the place by searching, else you you will get the coordinates of the place in the center.
If the place is not in the center, right click the place you want and click "center map here"
once you have done it paste the below code in the browser URL



javascript:void(prompt('',gApplication.getMap().getCenter()));

you will get an alert like below where the first value is the latitude and the second is the longitude.


Like the tip, would appreciate a link back.

Comments

Popular Posts