->

08 February 2007

Return Latitude and Longitude Fast - Google Maps

Return Latitude and Longitude Fast with Google Maps

A Query from the Google Map API Group revealed a useful answer...

Question:
"How can I find coordinates where my firm is placed ? www.maps.google.com does not show these details! How to check that ?"

Answer:
Copy and Paste this code into the url once you have found your location

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

Google Maps Returns Latitude Longitude URL
returns a Longitude and Latitude
Google Maps Returns Latitude Longitude URL

The method is very useful if you need to find these values frequently.

The JavaScript is book markable

In FF Create a new Bookmark
copy this url (can be google.ca google.com etc)

javascript:void(prompt
("http://www.google.co.uk/search?q=",gApplication
.getMap().getCenter()));

Creating Bookmark Firefox

This will now be in your bookmarks toolbar.

Whenever you require a location coordinates on a google map click the bookmark and a prompt box displays the in latitude and longitude.

A combined effort from Mike, Barry, Esa and blogged by Mapperz

Labels: , , , , , , ,