Dashboard > FarCry Plugins > Home > Google Maps
FarCry Plugins
Google Maps
Added by Geoff Bowers , last edited by Geoff Bowers on Aug 02, 2007  (view change)
Labels: 
(None)

Overview

Embed Google Maps within your FarCry application.

Sample implementations include:

webDU Conference

Daemon: Contact Us

Dott 07

Video & Screen Grabs

Google Maps Plugin In Action
(view as slideshow)
       
  Daemon Contact Us Map   webDU Conference Venue Map   Dott Map of Projects using custom icons
 

Download

You can grab the code base from the FarCry subversion repository:
http://svn1.cvsdude.com/modius/farcry/plugins/googleMaps/trunk

Or a zip of the plugin on the FishEye site (bottom left):
http://fisheye3.cenqua.com/browse/farcrycms/plugins/googleMaps/trunk

Installation

Add googleMaps to your plugin list in the farcryinit tag of your project's Application.cfm:

./www/Application.cfm
<farcry:farcryInit 
  name="daemon" 
  dbType="mssql" 
  plugins="farcrycms,farcryflow,googleMaps" />

You'll need to get an official Google Map API key for your domain. This is a big alphanumeric keyed to your specific domain – so you'll need one for your development environment and one for production.

Add something like the following to your project's ./config/_serverSpecificVars.cfm

./config/_serverSpecificVars.cfm
<cfsetting enablecfoutputonly="true" />
<!--- production server specific variables go here --->
<cfset application.stplugins.googlemaps.apikey="ABQIFFFFbsprD0qxxzsWeHnhPkBI3xRHvAt0JAzwc_e_MCA" />

<!--- developer/staging specific variables are overridden here --->
<cfset machineName=createObject("java", "java.net.InetAddress").localhost.getHostName()>
<cfswitch expression="#machinename#">
  <cfcase value="mydevbox">
    <cfset application.stplugins.googlemaps.apiKey="ABQIBBBBbsprD0qxxzsWeHnhPkBI3xy48YQjS2luDReiGlZQ" />
  </cfcase>

</cfswitch>

<cfsetting enablecfoutputonly="false" />

Then simply reinitialise your application and login to the webtop. You can create Locations and maps from the webtop admin, and schedule maps onto your pages using the googleMap publishing rule.

Plugin Components

Content Types

googleMap
googleMapLocation

Publishing Rules

ruleGoogleMap

Issues

FarCry Community (6 issues)
T Key Summary Assignee Reporter Pr Status Res Created Updated Due
New Feature GM-1 Add Google Map Icon Library Unassigned Geoff Bowers Major OpenOpen UNRESOLVED Mar 04, 2007 Jan 24, 2008
Improvement GM-6 [CODE INCULDED] GoogleMap custom tag and additional goodies (includes improvements suggested in GM-2,4 and 5 in one bundle) Unassigned David Whiterod Major OpenOpen UNRESOLVED Nov 19, 2007 Jan 24, 2008
New Feature GM-4 (code included) Add interactive marker placement to Google Maps location management Unassigned David Whiterod Major OpenOpen UNRESOLVED Sep 27, 2007 Jan 24, 2008
Improvement GM-5 (code included) Enhance ruleGoogleMap and displayMap template Unassigned David Whiterod Major OpenOpen UNRESOLVED Sep 27, 2007 Jan 24, 2008
Bug GM-7 Case sensititvity issue Unassigned Elaine Montoya Major OpenOpen UNRESOLVED Jan 20, 2008 Jan 24, 2008
New Feature GM-2 Look up geo-code from address with google maps Unassigned Andrew Mercer Minor OpenOpen UNRESOLVED Jan 28, 2002 Jan 24, 2008

Powered by a free Atlassian Confluence Open Source Project License granted to FarCry CMS. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators