Sometimes I need to find out longitude and latitude of certain points. I use Google Maps to find place, and… Until last weekend I have clicked link to this page and looked in URL. Usually there was lat and lng. But this was good enough when I need find it for one or two places.
This weekend we were writing application for Rails Rumble. And I have developed much more efficient way. Find Your place on Google Maps, center page and in Firebug console write:
gApplication.getMap().getCenter()
It will dump returned JS object into string. First number it is latitude and second one – longitude.
Of course You need Firefox with Firebug installed.
Leave a Reply