- see footer for list info -<
I trued that earlier and could write the variables to the page
which I could see ok but could not pass them to the google map
script. This is entrely due to my non existent JS skills
<script type="text/javascript">
//<![CDATA[
function load() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(XXXXXX YYYYYYYYY , 13);
}
}
//]]>
</script>
How do I get these Glat and Glan js variables into this script?
Sorry and thanks
Gordon
At 17:50 19/08/2008 Snake said....
>- see footer for list info -<
In the javascript that generates the map, just pass in the Glat and Glon
from the url variables.
e.g.
<cfoutput>
<script>
Function Myfunc()
{
Var Glat = #url.glat#;
Var Glon = #URL.glon#;
}
</script>
</cfoutput>
--
Russ Michaels
Certified ColdFusion Professional
My Blog: www.russ.michaels.me.uk
Tel: 0845 8620034
Fax: 07092 300330
Skype: russmichaels
Commerical ColdFusion & BlueDragon Hosting: www.cfmxhosting.co.uk
FREE CFML Developer hosting : www.cfdeveloper.co.uk
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Burns
Sent: 19 August 2008 15:03
To: Coldfusion Development
Subject: [CF-Dev] Google Map
>- see footer for list info -<
Having a bad day with somthing really simple.
I want a simple Google map on a page with the Glat and Glon being passed as
URL variables from aCF application]
map.html?Glat=52.172072&Glon=-003.109366
With a marker on the spot. Can anyone help.
Thanks
Gordon
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists,
go to http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<