Postcodes on Google Maps

By Auction Search Kit Last update Jul 11, 2010 — Installed 258 times.


Script Summary: Show all UK postcodes in the current webpage on a Google Map. Invoked by ALT+CTRL+SHIFT+M or GreaseMonkey menu.

Remotely hosted version

Script homepage

(Note: I've written a separate script for eBay: eBay on Google Maps)

INSTALLATION (Mozilla Firefox):
1. Install the GreaseMonkey Firefox Add-On.
2. After restarting Firefox, click on the Install button above to install this script.

Useful for any webpage that displays lists of addresses - instantly see where they are! The script can be invoked from any webpage by simply holding down ALT-CTRL-SHIFT and then pressing the M key(*). It will then detect all UK post codes in the page source and display them on a Google Map in a new window or tab (**). Each postcode is identified by a letter corresponding to each marker on the map. These ([A], [B] etc.) are also added to the webpage itself in bold - see screenshots below.

(*) The shortcut key combination can be changed by a simple edit to the constants at the top of the script.
(**) Popups may need to be enabled to allow this - just click on the Firefox warning bar and select the Google Maps URL to allow.

Example screenshot:



The postcodes are displayed on the map using the "Get Directions" feature, enabling them all to be displayed using a single URL.