Saturday, March 28, 2009

The Google Maps API

I have been learning a lot about javascript and the Google Maps API lately. If you are interested, you might find my delicious tags helpful. It includes links to sets of map markers that have been painstakingly created and then shared.

I have created a geocoding tool that shows off some of my learning. It will allow you to enter an address and get its lat/long coordinates. It also displays the lat/long coordinates of the centre of the map in case the address isn't enough. If you view the source, I have commented the more interesting bits.

The tool is a dumbed-down version of one that I am working on with all the Thunder Bay Community Services Agencies.
It takes 20 or 30 seconds to map the hundreds of addresses out of their database, assign different markers, set up the interactions, and display the results on three maps.


It has been interesting to apply my growing knowledge of actionscript (which is a derivative of javascript) to the object model of a browser page.

No comments: