2008-10-24

Fun with Google Maps and JavaScript

In my last post, I mentioned some hacking with JavaScript.

While I've been finishing my first 'real' project for Jackson Fish Market, I've also been using my new knowledge of JS to dig into the Google Maps APIs.

My first sample is a simple location list. Type in an address (or just a city, zip, landmark) and hit 'Add location'. If the place can be found, it will be mapped and added to a list of locations. You can click on a location to go back to it or click on the 'X' to remove it.


Pretty simple, but also pretty cool.

And since this is the web, I don't have to post a zip file. 'View Source' will get you into see the magic.

Enjoy and happy hacking.