IUM Re: IUM Re: IUM Re: Google Map API

2009-06-01 Thread Jenny Gavin-Wear

Excellent .. thanks Ryan, will let you know how I get on with that, looks
straightforward!

Jenny

-Original Message-
From: Ryan Letulle [mailto:bayous...@gmail.com]
Sent: 30 May 2009 20:03
To: cf-talk
Subject: SPAM-MEDIUM Re: IUM Re: IUM Re: Google Map API



This what I do.  Hope it helps:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:v="urn:schemas-microsoft-com:vml">
  

http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=</a><cfoutput>#reque
st.gmapkey#</cfoutput>"
type="text/javascript">


var map = null;
var geocoder = null;

function initialize() {
  if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(40.78704, -73.965797), 13);
map.setUIToDefault()
geocoder = new GClientGeocoder();
  }
}



function showAddress(address) {
  if (geocoder) {
geocoder.getLatLng(
  address,
  function(point) {
if (!point) {
  alert(address + " not found");
} else {
  map.setCenter(point, 13);
  var marker = new GMarker(point);
  map.addOverlay(marker);
  marker.openInfoWindowHtml(address);
}
  }
);
  }
}

  

  


  
   


  
  



  


--
Ryan



On Sat, May 30, 2009 at 7:50 AM, Jenny Gavin-Wear <
jenn...@fasttrackonline.co.uk> wrote:

>
> Hi Ryan,
>
> I looked at the page again in firefox using the Javascript error console
>
> src="
> <a  rel="nofollow" href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey">http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
> #"
>  type="text/javascript">
>
>//<![CDATA[
>function load() {
>  if (GBrowserIsCompatible()) {
>var map = new GMap2(document.getElementById("map"));
>map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
>map.addControl(new GLargeMapControl());
>map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#),
3);
>var point = new GPoint(#dLatitude#, #dLongitude#);
>var marker = new GMarker(point);
>map.addOverlay(marker);
>  }
>}
>//]]>
>
>
> The line:
> map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);
>
> gives the error:
> map.centerAndZoom is not a function
>
> I removed this line assuming if it was bad the script would stop
processing
> at this point, but still no marker.
>
> Jenny
>
>
>
>
>
> -Original Message-
> From: Ryan Letulle [mailto:bayous...@gmail.com]
> Sent: 28 May 2009 14:06
> To: cf-talk
> Subject: SPAM-MEDIUM Re: IUM Re: Google Map API
>
>
>
> I assume you are not getting any javascript errors?
> --
> Ryan
>
>
>
>
>



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323022
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IUM Re: IUM Re: Google Map API

2009-05-30 Thread Ryan Letulle

This what I do.  Hope it helps:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:v="urn:schemas-microsoft-com:vml">
  

http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=</a><cfoutput>#request.gmapkey#</cfoutput>"
type="text/javascript">


var map = null;
var geocoder = null;

function initialize() {
  if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("map_canvas"));
map.setCenter(new GLatLng(40.78704, -73.965797), 13);
map.setUIToDefault()
geocoder = new GClientGeocoder();
  }
}



function showAddress(address) {
  if (geocoder) {
geocoder.getLatLng(
  address,
  function(point) {
if (!point) {
  alert(address + " not found");
} else {
  map.setCenter(point, 13);
  var marker = new GMarker(point);
  map.addOverlay(marker);
  marker.openInfoWindowHtml(address);
}
  }
);
  }
}

  

  


  
   


  
  



  


--
Ryan



On Sat, May 30, 2009 at 7:50 AM, Jenny Gavin-Wear <
jenn...@fasttrackonline.co.uk> wrote:

>
> Hi Ryan,
>
> I looked at the page again in firefox using the Javascript error console
>
> src="
> <a  rel="nofollow" href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey">http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
> #"
>  type="text/javascript">
>
>//<![CDATA[
>function load() {
>  if (GBrowserIsCompatible()) {
>var map = new GMap2(document.getElementById("map"));
>map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
>map.addControl(new GLargeMapControl());
>map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);
>var point = new GPoint(#dLatitude#, #dLongitude#);
>var marker = new GMarker(point);
>map.addOverlay(marker);
>  }
>}
>//]]>
>
>
> The line:
> map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);
>
> gives the error:
> map.centerAndZoom is not a function
>
> I removed this line assuming if it was bad the script would stop processing
> at this point, but still no marker.
>
> Jenny
>
>
>
>
>
> -Original Message-
> From: Ryan Letulle [mailto:bayous...@gmail.com]
> Sent: 28 May 2009 14:06
> To: cf-talk
> Subject: SPAM-MEDIUM Re: IUM Re: Google Map API
>
>
>
> I assume you are not getting any javascript errors?
> --
> Ryan
>
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323004
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


IUM Re: IUM Re: Google Map API

2009-05-30 Thread Jenny Gavin-Wear

Hi Ryan,

I looked at the page again in firefox using the Javascript error console

http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
#"
  type="text/javascript">

//<![CDATA[
function load() {
  if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
map.addControl(new GLargeMapControl());
map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);
var point = new GPoint(#dLatitude#, #dLongitude#);
var marker = new GMarker(point);
map.addOverlay(marker);
  }
}
//]]>


The line:
map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);

gives the error:
map.centerAndZoom is not a function

I removed this line assuming if it was bad the script would stop processing
at this point, but still no marker.

Jenny





-Original Message-
From: Ryan Letulle [mailto:bayous...@gmail.com]
Sent: 28 May 2009 14:06
To: cf-talk
Subject: SPAM-MEDIUM Re: IUM Re: Google Map API



I assume you are not getting any javascript errors?
--
Ryan




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322999
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IUM Re: Google Map API

2009-05-28 Thread Ryan Letulle

I assume you are not getting any javascript errors?
--
Ryan



On Thu, May 28, 2009 at 7:54 AM, Jenny Gavin-Wear <
jenn...@fasttrackonline.co.uk> wrote:

>
> Umm  .. no .. it's in there ..
>
> -Original Message-
> From: Paul Ihrig [mailto:pih...@gmail.com]
> Sent: 15 May 2009 13:55
> To: cf-talk
> Subject: SPAM-MEDIUM Re: Google Map API
>
>
>
> map.addOverlay(marker);
> missing ;
>
> maybe
>
> On Fri, May 15, 2009 at 8:04 AM, Jenny Gavin-Wear
>  wrote:
> >
> > (message bumped with corrected subject ... help !!!)
> >
> > hi all .. trying to get a marker to show on the google map api ...
> extract
> > of code below ..
> >
> > anyone have any ideas as to why my marker isn't visible, please?
> >
> > tia, jenny
> >
> >
> > >
> src="
> <a  rel="nofollow" href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey">http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
> > #"
> >  type="text/javascript">
> >
> >//<![CDATA[
> >function load() {
> >  if (GBrowserIsCompatible()) {
> >var map = new GMap2(document.getElementById("map"));
> >map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
> >map.addControl(new GSmallMapControl());
> >map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#),
> 3);
> >var point = new GPoint(#dLatitude#, #dLongitude#);
> >var marker = new GMarker(point);
> >map.addOverlay(marker)
> >  }
> >}
> >//]]>
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322868
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


IUM Re: Google Map API

2009-05-28 Thread Jenny Gavin-Wear

Thanks Paul, but I put the ";" in and no change

-Original Message-
From: Paul Ihrig [mailto:pih...@gmail.com]
Sent: 15 May 2009 13:55
To: cf-talk
Subject: SPAM-MEDIUM Re: Google Map API



map.addOverlay(marker);
missing ;

maybe

On Fri, May 15, 2009 at 8:04 AM, Jenny Gavin-Wear
 wrote:
>
> (message bumped with corrected subject ... help !!!)
>
> hi all .. trying to get a marker to show on the google map api ... extract
> of code below ..
>
> anyone have any ideas as to why my marker isn't visible, please?
>
> tia, jenny
>
>        
>    
src="<a  rel="nofollow" href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey">http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
> #"
>      type="text/javascript">
>    
>    //<![CDATA[
>    function load() {
>      if (GBrowserIsCompatible()) {
>        var map = new GMap2(document.getElementById("map"));
>        map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
>        map.addControl(new GSmallMapControl());
>                map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#),
3);
>                var point = new GPoint(#dLatitude#, #dLongitude#);
>                var marker = new GMarker(point);
>                map.addOverlay(marker)
>      }
>    }
>    //]]>
>    
>    
>
>
>
>
>
>



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322867
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


IUM Re: Google Map API

2009-05-28 Thread Jenny Gavin-Wear

Thanks Alan ...

Here is the rendered code ...

http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIiM57Lca47g</a>
ZUZAGU9VAgzxSgDYqnW_JCrkwCqigUjd1zUJsCbRRgKmt_eNGlKyP-RjRNHj7jzDkmgA"
  type="text/javascript">

//<![CDATA[
function load() {
  if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(51.5398228, -0.1926350), 13);
map.addControl(new GLargeMapControl());
map.centerAndZoom(new GPoint(51.5398228, -0.1926350), 3);
var point = new GPoint(51.5398228, -0.1926350);
var marker = new GMarker(point);
map.addOverlay(marker);
  }
}
//]]>


-Original Message-
From: Alan Rother [mailto:alan.rot...@gmail.com]
Sent: 15 May 2009 19:37
To: cf-talk
Subject: SPAM-MEDIUM Re: Google Map API



Can we see what the rendered JS code looks like? There is the possibility
that the marker you are creating has an invalid geocode.

=]

--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322866
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


IUM Re: Google Map API

2009-05-28 Thread Jenny Gavin-Wear

Umm  .. no .. it's in there ..

-Original Message-
From: Paul Ihrig [mailto:pih...@gmail.com]
Sent: 15 May 2009 13:55
To: cf-talk
Subject: SPAM-MEDIUM Re: Google Map API



map.addOverlay(marker);
missing ;

maybe

On Fri, May 15, 2009 at 8:04 AM, Jenny Gavin-Wear
 wrote:
>
> (message bumped with corrected subject ... help !!!)
>
> hi all .. trying to get a marker to show on the google map api ... extract
> of code below ..
>
> anyone have any ideas as to why my marker isn't visible, please?
>
> tia, jenny
>
>        
>    
src="<a  rel="nofollow" href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey">http://maps.google.com/maps?file=api&amp;v=2&amp;key=#session.GoogleKey</a>
> #"
>      type="text/javascript">
>    
>    //<![CDATA[
>    function load() {
>      if (GBrowserIsCompatible()) {
>        var map = new GMap2(document.getElementById("map"));
>        map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
>        map.addControl(new GSmallMapControl());
>                map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#),
3);
>                var point = new GPoint(#dLatitude#, #dLongitude#);
>                var marker = new GMarker(point);
>                map.addOverlay(marker)
>      }
>    }
>    //]]>
>    
>    
>
>
>
>
>
>



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322863
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Google Map API

2009-05-18 Thread Gerald Guido

Hey Jeff... Thanx for heads up on CF_googlemap. That is AWESOME!!!

G!


On Mon, May 18, 2009 at 12:10 PM, Jeff Gladnick wrote:

>
> You might also consider using the quite exellent cf_googlemap by John
> Blayter: http://www.blayter.com/john/cf_googlemap/
>
> It handles all the javascript headaches for you.
>
> >Can we see what the rendered JS code looks like? There is the possibility
> >that the marker you are creating has an invalid geocode.
> >
> >=]
> >
> >--
> >Alan Rother
> >Adobe Certified Advanced ColdFusion MX 7 Developer
> >Manager, Phoenix Cold Fusion User Group, AZCFUG.org
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322619
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Google Map API

2009-05-18 Thread Jeff Gladnick

You might also consider using the quite exellent cf_googlemap by John Blayter: 
http://www.blayter.com/john/cf_googlemap/

It handles all the javascript headaches for you.

>Can we see what the rendered JS code looks like? There is the possibility
>that the marker you are creating has an invalid geocode.
>
>=]
>
>-- 
>Alan Rother
>Adobe Certified Advanced ColdFusion MX 7 Developer
>Manager, Phoenix Cold Fusion User Group, AZCFUG.org 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322617
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Google Map API

2009-05-15 Thread Alan Rother

Can we see what the rendered JS code looks like? There is the possibility
that the marker you are creating has an invalid geocode.

=]

-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager, Phoenix Cold Fusion User Group, AZCFUG.org


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322568
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Google Map API

2009-05-15 Thread Brian Swartzfager

I don't see anything obviously wrong with it either (I don't know that the 
missing ";" Paul pointed out would matter given that it's the last statement 
within a block, though I personally end every statement with a ";" as a matter 
of habit).

I assume that something on the page is calling your load() function (it won't 
run by itself with just the code you shared with us).

Have you tried running this in Firefox with the Firebug plugin installed and 
set to monitor the scripting activities on the page?  That would tell you if 
there's any sort of error with the JavaScript, either in this snippet of code 
or perhaps in some earlier JavaScript function such that this Google Map 
JavaScript never gets run.

--
Brian Swartzfager
bcswa...@gmail.com



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322567
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Google Map API

2009-05-15 Thread Paul Ihrig

map.addOverlay(marker);
missing ;

maybe

On Fri, May 15, 2009 at 8:04 AM, Jenny Gavin-Wear
 wrote:
>
> (message bumped with corrected subject ... help !!!)
>
> hi all .. trying to get a marker to show on the google map api ... extract
> of code below ..
>
> anyone have any ideas as to why my marker isn't visible, please?
>
> tia, jenny
>
>        
>     src="http://maps.google.com/maps?file=api&v=2&key=#session.GoogleKey
> #"
>      type="text/javascript">
>    
>    //    function load() {
>      if (GBrowserIsCompatible()) {
>        var map = new GMap2(document.getElementById("map"));
>        map.setCenter(new GLatLng(#dLatitude#, #dLongitude#), 14);
>        map.addControl(new GSmallMapControl());
>                map.centerAndZoom(new GPoint(#dLatitude#, #dLongitude#), 3);
>                var point = new GPoint(#dLatitude#, #dLongitude#);
>                var marker = new GMarker(point);
>                map.addOverlay(marker)
>      }
>    }
>    //]]>
>    
>    
>
>
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322544
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Google Map API

2008-02-26 Thread Adrian Lynch
Yup, but would passing the lat and long the wrong way be causing the marker
to be placed somewhere else?

-Original Message-
From: Jenny Gavin-Wear
Sent: 26 February 2008 13:30
To: CF-Talk
Subject: RE: Google Map API


Thanks Adrian,

If you try it, you can see the map is generated, it's just the placing of
the marker that's the issue.



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299882
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Google Map API

2008-02-26 Thread Jenny Gavin-Wear
Thanks Adrian,

If you try it, you can see the map is generated, it's just the placing of
the marker that's the issue.



-Original Message-
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: 24 February 2008 10:55
To: CF-Talk
Subject: RE: Google Map API


After a quick scan, and maybe not the source of the problem, but you are
passing in the lat and long the wrong way in a few places.

GLatLng(#dLongitude#, #dLatitude#) should be GLatLng(#dLatitude#,
#dLongitude#)

Adrian

-Original Message-
From: Jenny Gavin-Wear
Sent: 23 February 2008 17:25
To: CF-Talk
Subject: Google Map API


Got the following working nicely, thanks to sources for code.

Just one thing not happening, no marker is showing ... any ideas please?

TIA for any help, Jenny


Can be seen working at :
http://84.43.72.133/ftol/ftol-devel/Maps-API/untitled.cfm









http://maps.google.com/maps/geo?q=#session.Gaddress#&output=xml&key=#se
ssion.googleKey#" method="get" resolveurl="yes" redirect="yes"
charset="utf-8">



xml = XMLParse(CFHTTP.FileContent);






http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIQWU08SSpxE</a>
_NHRopjjFIaRT77izB2FjZNNGJnuNuoc8rFYTfeBSB_tuGNK7BO6Mdxnme9fXR4yn-_Q"
  type="text/javascript">

//<![CDATA[
function load() {
  if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(#dLongitude#, #dLatitude#), 13);
map.addControl(new GLargeMapControl());
map.centerAndZoom(new GPoint(#dLongitude#, #dLatitude#), 3);
var point = new GPoint(#dLongitude#, #dLatitude#);
var marker = new GMarker(point);
map.addOverlay(marker);
  }
}
//]]>






http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
  

Google Maps JavaScript API Example
  


  




  
Address

  
  
 

  
  



  
  
 


Laditude is #dLatitude#, Longitude is #dLongitude#


  







~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299880
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Google Map API

2008-02-24 Thread Adrian Lynch
After a quick scan, and maybe not the source of the problem, but you are
passing in the lat and long the wrong way in a few places.

GLatLng(#dLongitude#, #dLatitude#) should be GLatLng(#dLatitude#,
#dLongitude#)

Adrian

-Original Message-
From: Jenny Gavin-Wear
Sent: 23 February 2008 17:25
To: CF-Talk
Subject: Google Map API


Got the following working nicely, thanks to sources for code.

Just one thing not happening, no marker is showing ... any ideas please?

TIA for any help, Jenny


Can be seen working at :
http://84.43.72.133/ftol/ftol-devel/Maps-API/untitled.cfm









http://maps.google.com/maps/geo?q=#session.Gaddress#&output=xml&key=#se
ssion.googleKey#" method="get" resolveurl="yes" redirect="yes"
charset="utf-8">



xml = XMLParse(CFHTTP.FileContent);






http://maps.google.com/maps?file=api&v=2&key=ABQIQWU08SSpxE
_NHRopjjFIaRT77izB2FjZNNGJnuNuoc8rFYTfeBSB_tuGNK7BO6Mdxnme9fXR4yn-_Q"
  type="text/javascript">

//






http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
  

Google Maps JavaScript API Example
  


  




  
Address

  
  
 

  
  



  
  
 


Laditude is #dLatitude#, Longitude is #dLongitude#


  





~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299798
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Google Map API and CF

2006-03-13 Thread Harry Watson
http://www.coldfusionpodcast.com/cfgooglemaps

On 3/12/06, Casey Dougall <[EMAIL PROTECTED]> wrote:
> yeah, I'm using it but it's still in testing phase.
>
> http://www.saratoga.com/Business-DetailsMaps.cfm/BusinessID/364
>
> The gmap code is from the following tutorial which shows a few
> examples of how to use the code.
> http://tutorial397.easycfm.com/
>
> I still have some troubles getting this to work in "IE" but i haven't
> worked on this since October except to change the code that grabs the
> GEO Lat and Long digits... this is in a comment on the end of the
> tutorial not sure if it's been updated in the files posted.
>
> Basic run though of what this is doing:
> - Look in database and see if their is lat and long
> - if not cfhttp maps.google.com with the street address and save the
> lat and long in variables
> - update the database with those ###'z and continue to display maps.
>
>
> --
> Casey Dougall
> Web Applications Developer
> Ph: 518 743-9424  Fax: 743-0337
> [EMAIL PROTECTED]
>
> Mannix Marketing Inc. 10 East Washington St. Suite 1, Glens Falls, New York
>
> Marketing to New York State Destinations?
> We offer quality Travel Industry Directories, Including
> www.Albany.com, www.LakeGeorge.com & www.Saratoga.com
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235220
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Google Map API and CF

2006-03-12 Thread Claude Schneegans
 >>I would say no...I was looking at that too...I think you have to register
for each domain...

I just got an answer, and it's simpler than I thought ;-)
Just ask for a key for "http//localhost" and you'll get one,... and it 
works ;-)

Of course, you still also have to ask for a key for the final domain.

Just detect the location the application is running in Application.cfm,
and put the right rigth key in some application.variable, and you're in 
business.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235166
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Google Map API and CF

2006-03-12 Thread John Blayter
I have been working on a CF tag to interface with the Google Map API.
I am still looking for some beta testers before I make it publicly
available. If you want to help test it please email me off list.

http://www.blayter.com/john/cf_googlemap/

Thanks

John Blayter
[EMAIL PROTECTED]

On 3/12/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> I am using it, and it is attached to a domain. We wanted to deploy maps to
> 250 client websites at the same time. Fortunately, many of those are under
> the same domain.
>
> The good news is that they don't limit you to the number of ID's you can
> generate, so other than being a huge pain in the butt, it's possible. You
> could always look at Yahoo maps, which don't have that restriction, but are
> significantly slower loading...
>
> !k
>
> -Original Message-
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 11, 2006 4:36 PM
> To: CF-Talk
> Subject: Google Map API and CF
>
> Hi,
>
> Anyone using the Google Map API in a CF application here?
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235154
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Google Map API and CF

2006-03-12 Thread Claude Schneegans
 >>The good news is that they don't limit you to the number of ID's you can
generate, so other than being a huge pain in the butt

Another alternative would be to use it in an IFRAME calling a template 
under your own domain.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235151
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Google Map API and CF

2006-03-12 Thread Eric Roberts
I would say no...I was looking at that too...I think you have to register
for each domain...

I haven't tested it yet, so I probably know less than you do at this point
hehehe.

Eric 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Sunday, 12 March 2006 08:50
To: CF-Talk
Subject: Re: Google Map API and CF

 >>my boss did before I started working there.
It's a pretty cool app that locates former customers so our CSR's can try
and get them back in the fold.

May be you can still answer my question: it looks like the use of the API is
binded to the domain name of your site, but is it possible to test it from
your developing work station from localhost?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED]) Thanks.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235149
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Google Map API and CF

2006-03-12 Thread Kevin Aebig
I am using it, and it is attached to a domain. We wanted to deploy maps to
250 client websites at the same time. Fortunately, many of those are under
the same domain.

The good news is that they don't limit you to the number of ID's you can
generate, so other than being a huge pain in the butt, it's possible. You
could always look at Yahoo maps, which don't have that restriction, but are
significantly slower loading...

!k

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 11, 2006 4:36 PM
To: CF-Talk
Subject: Google Map API and CF

Hi,

Anyone using the Google Map API in a CF application here?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235141
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Google Map API and CF

2006-03-12 Thread Casey Dougall
yeah, I'm using it but it's still in testing phase.

http://www.saratoga.com/Business-DetailsMaps.cfm/BusinessID/364

The gmap code is from the following tutorial which shows a few
examples of how to use the code.
http://tutorial397.easycfm.com/

I still have some troubles getting this to work in "IE" but i haven't
worked on this since October except to change the code that grabs the
GEO Lat and Long digits... this is in a comment on the end of the
tutorial not sure if it's been updated in the files posted.

Basic run though of what this is doing:
- Look in database and see if their is lat and long
- if not cfhttp maps.google.com with the street address and save the
lat and long in variables
- update the database with those ###'z and continue to display maps.


--
Casey Dougall
Web Applications Developer
Ph: 518 743-9424  Fax: 743-0337
[EMAIL PROTECTED]

Mannix Marketing Inc. 10 East Washington St. Suite 1, Glens Falls, New York

Marketing to New York State Destinations?
We offer quality Travel Industry Directories, Including
www.Albany.com, www.LakeGeorge.com & www.Saratoga.com

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235136
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Google Map API and CF

2006-03-12 Thread Claude Schneegans
 >>my boss did before I started working there.
It's a pretty cool app that locates former customers so our CSR's can try
and get them back in the fold.

May be you can still answer my question: it looks like the use of the 
API is binded to the domain
name of your site, but is it possible to test it from your developing 
work station from localhost?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235132
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Google Map API and CF

2006-03-11 Thread Eric Roberts
Not yet...I just downloaded it to play with it.  We do use it at work.  I
didn't design the application...my boss did before I started working there.
It's a pretty cool app that locates former customers so our CSR's can try
and get them back in the fold.  It uses a Google map and pinpoints the
customers within a certain radius.

Eric 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 11 March 2006 16:36
To: CF-Talk
Subject: Google Map API and CF

Hi,

Anyone using the Google Map API in a CF application here?

--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED]) Thanks.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235127
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54