jump to navigation

NOTE: The spam filter is being unusually aggressive. If you comment does not immediately appear, it has simply been placed in moderation and I will approve it as quickly as possible. Thank you for your patience.

"Murphy was an optimist!"

Sweet! ColdFusion rocks and here’s why! November 11, 2005 1:33 pm

Posted by djuggler in : Daily Life
, trackback

So you want to include a Google Map on your site? With ColdFusion you can do it in two lines of code using CFGoogleMaps!

<cfscript>
    //Create the object
    cfgm = CreateObject('component','cfgooglemaps');
    //Pass the init function your google key and the
    //lat and lon on which the map should be centered
    cfgm.init('INSERT GOOGLE MAP KEY',38.898748,-77.037684);
</cfscript>

<cfoutput>
    <!--- Now just output the map --->
    #cfgm.getMap()#
</cfoutput>

Comments after advertisement

Comments»

no comments yet - be the first?


trackback