I just added googleMaps to farcryConstructor
updated the application
went into webtop  -> Admin / Config
and Google Map Config was just there



2008/12/10 David Whiterod <[EMAIL PROTECTED]>

>
> Hi AJ,
>
> Yes, I have seen the configGoogleMap.cfc file but the GM config is not
> shown on my setup (I can't see how to deploy the config via webtop).
>
> Your, 'Application.stplugins.googlemaps.apikey =
> APPLICATION.config.configGoogleMap.apiKey' code should work a treat.
>
> Once I sort out the config situation I will update the tags to also
> look for the config (as well as ''...stKeys[cgi.HTTP_HOST]' and
> '...googleMaps.apiKey' - for FC4).
>
> Cheers
>
> David
>
> On Dec 10, 2:02 pm, "AJ Mercer" <[EMAIL PROTECTED]> wrote:
> > Hi David,
> >
> > googleMaps does have a config package
> > So I am not too sure what you mean,
> > but in
> >      config/_serverSpecificVarsAfterInit.cfm
> > you would have
> >     <cfset Application.stplugins.googlemaps.apikey =
> > APPLICATION.config.configGoogleMap.apiKey />
> >
> > or just change
> >     Application.stplugins.googlemaps.apikey
> > to
> >     APPLICATION.config.configGoogleMap.apiKey
> >
> > 2008/12/10 David Whiterod <[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
> > > Hi Marco,
> >
> > > > When i want to use the earth view i see that i get a statement that i
> > > > need another google api key, i asume i then need a key based on my
> > > > external ip address?
> >
> > > Yes, you need a key for each URL/domain. This is stored as
> > > 'Application.stplugins.googlemaps.apikey'. This can be supplied within
> > > your project's config/_serverSpecificVarsAfterInit.cfm template i.e.
> >
> > > <farcry:machineSpecific name="<your machine name goes here>">
> > >        <!--- DEVELOPER SPECIFIC OVERRIDING CODE HERE --->
> > >        <cfscript>
> > >                Application.stplugins.googlemaps.apikey = "<your key
> goes
> > > here>";
> > >        </cfscript>
> > > </farcry:machineSpecific>
> >
> > > ... this would be a good candidate for a config. setting but I'm a bit
> > > unsure how these are working in FC5.
> >
> > > > Also when i click the show in google earth link i get an:
> >
> > > The 'View in Google Earth' link relies upon a webserver mapping '/
> > > googlemaps'.
> >
> > > > Could not find project application.
> > > > Check that your mappings are correctly setup.
> >
> > > > The error occurred in C:\Inetpub\wwwroot\farcry\core\tags\farcry
> > > > \callProjectApplication.cfm: line 60
> >
> > > > 58 :
> > > > 59 :    <cfcatch type="missinginclude">
> > > > 60 :    <cfthrow type="Application" message="Could not find project
> > > > application." detail="Check that your mappings are correctly setup.">
> > > > 61 :    </cfcatch>
> > > > 62 :
> >
> > > > Might be some stuff i mis but might ring a bell to you.
> >
> > > > Again, awesome plugin, very very usable this way, i am sure many
> > > > people will love your work, thanks so much!
> >
> > > > On Dec 9, 8:26 am, David Whiterod <[EMAIL PROTECTED]> wrote:
> >
> > > > > Hi All,
> >
> > > > > I've just added some new features to the Google Map plug-in.
> >
> > > > > The plug-in now includes:
> >
> > > > > 1. You can select 'Earth' as a map's default view. This uses the
> > > > > Google's Earth browser plug-in  (seehttp://
> > > code.google.com/apis/earth/documentation/).
> > > > > There is also a new attribute that will show the Earth option when
> it
> > > > > is not the default map type.
> >
> > > > > 2. Google Maps has changed the Map types (Map, Satellite, Hybrid)
> in
> > > > > version 2 of the API. The new types are: G_NORMAL_MAP;
> > > > > G_SATELLITE_MAP; G_HYBRID_MAP. The plug-in code has been updated to
> > > > > use the new codes. If an object supplies the old code it will be
> > > > > converted to the corresponding new code.
> >
> > > > > 3. Updates to the webskin (and custom tag) to use the Google AJAX
> API
> > > > > (GoogleMaps keys can remain the same).
> >
> > > > > You can get the updated code fromhttp://
> > > bugs.farcrycms.org/browse/GM-13.
> >
> > > > > Enjoy!
> >
> > > > > cheers
> >
> > > > > David
> >
> > --
> > AJ Mercer
> > Web Log:http://webonix.net
> >
> > Once you come to the realisation that everyone is crazy,
> > You will never be surprised or disappointed ever again.
> > AJM 2008
> >
>


-- 
AJ Mercer
Web Log: http://webonix.net


Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to