scot hacker’s foobar blog
Every noun can be verbed.
May 1, 2008

Get Lat/Long from Google Maps


Great tip from J-School multimedia instructor Jeremy Rue:

“If you ever want to find the longitude and latitude of a location on Google Maps, simply center the map to the location you want to find. You can even search an address and this will work. Then paste in this code into the URL field:

javascript:alert(window.gApplication.getMap().getCenter());

A pop-up box will appear with the longitude and latitude.”

Music: Os Mutantes :: A Minha Menina

2 Responses to “Get Lat/Long from Google Maps”

  1. David:

    Timely! I was literally scratching my head trying to understand how to do this, when I saw this post.

    Thanks!

  2. shacker:

    Sure would be nice if they’d put a button or link in the UI for this. Even tucked away in the Advanced section or something. I can see it being useful for lots of things, especially with GPSs becoming so common.

Leave a Reply

→ Want an avatar/icon to show up alongside your comment? Get a free Gravatar. ←