Google Maps – quick tip for finding coordinates

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.

Join the Conversation

1 Comment

  1. Pingback: Online-Bookmarks

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.