Overview
Embed Google Maps within your FarCry application.
Sample implementations include:
webDU Conference
- http://www.webdu.com.au/go/session/workshop-flash-lite-jump-start
- http://www.webdu.com.au/go/venue/getting-there
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:
<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
<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
|
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| T | Key | Summary | Assignee | Reporter | Pr | Status | Res | Created | Updated | Due |
|
|
GM-8 | Bug | Unassigned | Sagar Jadhav |
|
|
UNRESOLVED | Jul 10, 2008 | Jul 10, 2008 | |
|
|
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 |
|
|
UNRESOLVED | Nov 19, 2007 | May 28, 2008 | |
|
|
GM-1 | Add Google Map Icon Library | Unassigned | Geoff Bowers |
|
|
UNRESOLVED | Mar 04, 2007 | Jan 24, 2008 | |
|
|
GM-4 | (code included) Add interactive marker placement to Google Maps location management | Unassigned | David Whiterod |
|
|
UNRESOLVED | Sep 27, 2007 | Jan 24, 2008 | |
|
|
GM-5 | (code included) Enhance ruleGoogleMap and displayMap template | Unassigned | David Whiterod |
|
|
UNRESOLVED | Sep 27, 2007 | Jan 24, 2008 | |
|
|
GM-7 | Case sensititvity issue | Unassigned | Elaine Montoya |
|
|
UNRESOLVED | Jan 20, 2008 | Jan 24, 2008 | |
|
|
GM-2 | Look up geo-code from address with google maps | Unassigned | Andrew Mercer |
|
|
UNRESOLVED | Jan 28, 2002 | Jan 24, 2008 | |