At last nights Orange County ColdFusion Users Group meeting (occfug.org) I presented on the topic of integrating the Google Maps API into a ColdFusion application. I made a custom tag for the presentation that generates a Google API powered map, and I am posting it here for all the people that wanted access to the source code.

The cf_gMap custom tag is used to generate the map and you can add markers to the map by using the cf_gMapMarker tag. In the future I want to add the ability to specify custom icons for the markers but I have not had time for that yet. Also, this tag currently only works with ColdFusion 8 because I used the cfajaxonload function to initialize the map, but that can be easily modified if anyone wants it to work with older versions of ColdFusion. If you have any other suggestions for additional functionality that might be useful, please leave a comment below.

Comments
Jeff Gladnick's Gravatar Scott,

I have been contributing to a similar project started by John Blayter - Perhaps we should pool our resources...

http://www.blayter.com/john/cf_googlemap/
# Posted By Jeff Gladnick | 4/19/08 6:20 PM
Sebastiaan's Gravatar Maybe an idea to pool you resources AND create a RIAForge project for this? Or maybe even better, check out the other CF Google Maps API thingamajigz, pool all of them and create ONE tool. Would be nice for all of us CF-coders out there ;-)
# Posted By Sebastiaan | 4/23/08 5:15 AM
 
Home | Blog | Portfolio | Contact | © 2001 - 2007 The ColdFusion Guy - Scott Bennett. All rights reserved.
BlogCFC was created by Raymond Camden. This blog is running version 5.9.