Tip Details Add a Related Tip

Rate as: Positive Negative

Getting latitude and longitude from Google Maps

Here's a hack that will allow you to get the latitude and longitude of a location from Google Maps. Just go to Google Maps and find the location that you want the lat/long for. Make sure this location is centered in the map. Once it is, copy the following code into the address bar (the place where the http://maps.google.com URL is listed) and hit Enter:

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

When you do this, a javascript dialog window will open and it will show the latitude and longitude at the center of the map.
Rating: 100% positive, 8 total Votes
Categories: maps google hack javascript
Added: on Apr 25, 2008 at 10:01 am
Added By: an anonymous user
Searches: map google hack javascript latitude

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Time filter google search results

Categories: Google search hack
100% positive, 1 comment - last added on Mar 04, 2009 at 6:56 am
– Tip added by groker on Apr 29, 2008 at 10:52 am

Google hacks database

Categories: google hack black hat
100% positive, 0 comments
– Tip added by an anonymous user on Jul 05, 2007 at 6:21 am

Mapping addresses in Leopard

100% positive, 1 comment - last added on Feb 15, 2008 at 5:28 pm
– Tip added by an anonymous user on Feb 15, 2008 at 9:50 am

Find free wifi using Google Maps

Categories: google maps wi-fi free
66% positive, 1 comment - last added on Jul 13, 2007 at 2:14 pm
– Tip added by an anonymous user on Jul 12, 2007 at 8:47 am

Use google to find music and video files

Categories: google hack music free p2p
100% positive, 0 comments
– Tip added by an anonymous user on Jul 10, 2007 at 10:09 pm

Use Google maps as a pedometer

Categories: Google maps pedometer walks
100% positive, 0 comments
– Tip added by an anonymous user on Mar 10, 2009 at 12:04 pm

Find out where to vote

Categories: Voting google maps
100% positive, 0 comments
– Tip added by an anonymous user on Nov 04, 2008 at 8:46 am

See real estate prices in Google Maps

Categories: google maps real estate
100% positive, 0 comments
– Tip added by an anonymous user on May 13, 2008 at 5:20 pm

Get public transit information via Google Maps

100% positive, 0 comments
– Tip added by an anonymous user on Apr 28, 2008 at 8:29 am

Get traffic information on your maps

Categories: maps google traffic web 2.0
100% positive, 0 comments
– Tip added by an anonymous user on Apr 18, 2008 at 1:20 pm

Quick zooming in Google Maps

Categories: maps google shortcut
100% positive, 0 comments
– Tip added by an anonymous user on Oct 17, 2007 at 2:46 pm

New quick way to track airline flights

Categories: google maps airlines
100% positive, 1 comment - last added on Dec 22, 2007 at 2:40 pm
– Tip added by an anonymous user on Sep 14, 2007 at 10:40 am

Update Google maps with your business information

Categories: google maps business
100% positive, 0 comments
– Tip added by an anonymous user on Jun 27, 2007 at 7:29 am

Google search cheat-sheet

Categories: google hack
100% positive, 0 comments
– Tip added by an anonymous user on Jun 07, 2007 at 5:11 pm

Google maps now including side road traffic

Categories: Maps Google
no ratings, 0 comments
– Tip added by an anonymous user on Aug 31, 2009 at 7:31 am

Get rid of ads in GMail

Categories: Google Gmail hack
no ratings, 0 comments
– Tip added by an anonymous user on Aug 07, 2009 at 1:19 pm

Track flu outbreaks

Categories: Travel flu health google maps
no ratings, 0 comments
– Tip added by an anonymous user on Nov 13, 2008 at 2:22 pm

Driving routes on google maps

no ratings, 0 comments
– Tip added by an anonymous user on Sep 22, 2008 at 8:44 pm

How to make one Google Blog Search Form in your blog

Categories: google search blog hack
no ratings, 1 comment - last added on Jun 04, 2009 at 8:24 am
– Tip added by an anonymous user on Jun 26, 2007 at 11:45 pm

Learning Google Maps API

Categories: programming google maps
no ratings, 0 comments
– Tip added by an anonymous user on Jun 15, 2007 at 3:08 pm