Friday, July 01, 2005
Greasemonkey script to add Google Map to any page
Greasemap is a Greasemonkey script which adds a Google map to a page if it finds any geocodable addresses or other geotags on the page.
The map is placed in an iframe served up from Vinq.com - which gets around the restrictions that the Google maps key registration mechanism imposes.
Currently recognised locations are of the form
All geocoding of addresses is done on the server. The server is thus a useful webservice in its own right. Take a look at:
http://www.vinq.com/greasemap.html?locs=801+spring+St,Seattle,WA
- it produces a twin map layout, showing a wide angle view, and a close-up.
The map is placed in an iframe served up from Vinq.com - which gets around the restrictions that the Google maps key registration mechanism imposes.
Currently recognised locations are of the form
- 123 foobar street, anytown, MN 95125
- <meta name="geo.position" content="41.328,-110.292">
- <meta name="ICBM" content="41.328,-110.292">
All geocoding of addresses is done on the server. The server is thus a useful webservice in its own right. Take a look at:
http://www.vinq.com/greasemap.html?locs=801+spring+St,Seattle,WA
- it produces a twin map layout, showing a wide angle view, and a close-up.