Google Maps Show Coords

By JRI Last update Dec 11, 2011 — Installed 1,940 times.


Script Summary: Shows the map centre latitude/longitude coordinates in Google Maps.

Version: 0.9.2

Copyright: 2011, James Inge (http://geo.inge.org.uk/)

License: MIT License; http://www.opensource.org/licenses/mit-license.php

Remotely hosted version

Google Maps - Show Coords

Adds a widget marked "Show coords" in the sidebar next to the map. When you click on it, the label changes to show you the latitude and longitude of the point at the centre of the map window. The coordinates do not change as you drag the map, but update if you click again.

I use this to find locations to program into my GPS, or to feed into geographical search engines.

If you are careful with your mouse, you can highlight the coordinates to cut and paste into another application. This is rather fiddly, so the script can also copy them to the clipboard when you right click. However, this feature requires extra security privileges and has only been tested in Firefox. To enable it, set the 'signed.applets.codebase_principal_support' preference to 'true' in about:config. You will also see a security prompt when you right click on the coordinates for the first time.

The coordinates are shown in degrees and decimal minutes (DD MM.mmm) on the WGS84 datum, with north and east positive. There is a variable at the top of the script that you can edit to give you decimal degrees (DD.DDDDD). If you want decimal degrees, it might also be worth looking at Google Maps Labs, which currently has a couple of similar features.