Get Latitude and Longitude value in Google Maps

Google maps doesn’t display longitude and latitude of the location that you are currently viewing but with the help of this little javascript you may not get the exact location of the centered address.

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

just paste the above code in your browser’s address bar and press enter. A window will pop-up with the longitude and latitude

Advertisements

One thought on “Get Latitude and Longitude value in Google Maps

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s