May 14th, 2010, 6:24 PM
And here's a first draft of my own Google Maps script:
http://hello.formtools.org/
You can view the JS here:
http://hello.formtools.org/global/scripts/maps.js
It's NOT very pretty (!!), but it may give you a few ideas. The server side code being loaded via an Ajax request just creates a JSON object containing the website info for showing on the map.
As soon as there are lots more websites listed for the map, I'll need to refactor it to load the content better. Still, it's a first step.
- Ben
http://hello.formtools.org/
You can view the JS here:
http://hello.formtools.org/global/scripts/maps.js
It's NOT very pretty (!!), but it may give you a few ideas. The server side code being loaded via an Ajax request just creates a JSON object containing the website info for showing on the map.
As soon as there are lots more websites listed for the map, I'll need to refactor it to load the content better. Still, it's a first step.
- Ben