Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
{warning} The installation instructions listed here are only relevant for version FarCry 4.x. {warning} h2. Overview Embed Google Maps within your FarCry application. Sample implementations include: webDU Conference *
Wiki Markup
Warning

The installation instructions listed here are only relevant for version FarCry 4.x.

Overview

Embed Google Maps within your FarCry application.

Sample implementations include:

webDU Conference

...

...

Daemon:

...

Contact

...

Us

...

...

Dott

...

07

...

...

Video

...

&

...

Screen

...

Grabs

Gallery
columns3
titleGoogle Maps Plugin In Action

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:

...

:=}
Code Block
title
./www/Application.cfm
<farcry:farcryInit 
  name="daemon" 
  dbType="mssql" 
  plugins="farcrycms,farcryflow,googleMaps" />
{code}

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

...

:=}
Code Block
title
./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" />
{code}

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

Jira Issues
urlhttp://bugs.farcrycms.org:8080/secure/IssueNavigator.jspa?view=rss&&pid=10021&resolution=-1&sorter/field=updated&sorter/order=DESC&tempMax=25&reset=true&decorator=none

...