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()));
returns a Longitude and Latitude
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()));
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: Bookmark, Coordinates, Display, Google Maps, Javascript, Lat, Long, Reference
5 Comments:
Very interesting tip!
I will use to place route diagrams in Alpinaut.com, the climbing and canyoning interactive map.
Exactly what I was looking for. Thanks! :)
This has to be one of the most useful tips I have ever found on Geocoding. Thanks so much.
Hello,
Is it possible return direct ?
I have a mysql table with locality in France but i have no latitude and longitude.
One interrogation is it possible ?
Thanks
Bonjour,
J'ai une table de lieux en Fance et je vousdrais pouvoir la comlèter de la latitude et longitude par programme
MERCI
This is super awesome, thanks
Post a Comment
<< Home