Tuesday, November 25, 2008

Getting Lat and Long values from Google maps

This is listed in countless other places, but I didn't want to lose track of it:

Centre an item in google maps and put this in the address bar -

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


This will alert the lat and long values to the screen.

Original hint found here (with thanks!):
http://birdhouse.org/blog/2008/05/01/get-latlong-from-google-maps/

0 comments:

Blog Archive

About Me