Ever since I'd been working on various Google Maps hacks I'd been thinking, "Hmmm, I've done Gmail hacks and Gmaps hacks, what could I do that would combine both?". Rather than the blindingly obvious idea of adding a map to the contacts pages (which I didn't think of!) I decided to parse incoming messages for geographic locations and provide a way to view a map of the location:
![]() |
This page includes some very basic instructions for using an initial rough version of this functionality that only maps US State/Zip codes locations. (The current version is a bookmarklet, but it would be ideal for a GreaseMonkey script--which would solve some issues with the current version.)
You might see something interesting when I mention that I know of a company located in CA 94043 or that I happen to know that CA 90210 was made especially famous by a television programme.
Obviously there's much scope for improving this, but this is a start.
Also, I hope to at some stage document further how I'm accomplishing this, specifically, how to intercept the message view renderers to alter the output--I'm thinking of an example that shows how to have graphical smilies display in Gmail messages--which I'm sure will be more popular than this for some reason. But, that may never happen, so don't get your hopes up... :-)
-- follower at rancidbacon.com (Original page: http://stuff.rancidbacon.com/gmailmaps/)
25 May 2005 — © Copyright 2005