IUM Re: IUM Re: IUM Re: Google Map API
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&v=2.x&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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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
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&v=2.x&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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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
Hi Ryan, I looked at the page again in firefox using the Javascript error console http://maps.google.com/maps?file=api&v=2&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
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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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
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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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
Thanks Alan ... Here is the rendered code ... http://maps.google.com/maps?file=api&v=2&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
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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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
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
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
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
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
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&v=2&key=#session.GoogleKey">http://maps.google.com/maps?file=api&v=2&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:322544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Google Map API
(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 http://maps.google.com/maps?file=api&v=2&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:322543 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
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
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&v=2&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
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</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:299798 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
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:299774 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SOT - Google Map API
On Wednesday 24 January 2007 17:42, Bruce Sorge wrote: > Anyone use the Google Map API yet? I am getting ready to integrate it into > a site I am working on Beware their license terms. If you charge people, or it's behind a login process, I believe you can't use it. -- Tom Chiverton Helping to enthusiastically coordinate high-end content This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SOT - Google Map API
I haven't used it personally...but when I worked at AT&T, my manager built a site for customer service to plot non-customers (mostly former) for sales calls. He knows CF enough...but not at our level and he had no problems using it. He created a pretty cool tool with it. Eric -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 January 2007 11:42 To: CF-Talk Subject: SOT - Google Map API Anyone use the Google Map API yet? I am getting ready to integrate it into a site I am working on and was wondering if anyone has used it and what they though. Thanks, -- Bruce Sorge "I'm a mawg: half man, half dog. I'm my own best friend!" ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT - Google Map API
I just released 1.3 of my cf_googleMap tag. http://cfgooglemap.riaforge.org/index.cfm On 1/24/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Thanks, I will do that. > > Bruce > > On 1/24/07, Jerry Johnson <[EMAIL PROTECTED]> wrote: > > > > yes. used it and liked it. > > > > But, you should also look into the yahoo maps. good maps, built on flex. > > good hooks to cf. > > > > > ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267541 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SOT - Google Map API
Thanks, I will do that. Bruce On 1/24/07, Jerry Johnson <[EMAIL PROTECTED]> wrote: > > yes. used it and liked it. > > But, you should also look into the yahoo maps. good maps, built on flex. > good hooks to cf. > ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267517 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SOT - Google Map API
I played with the JS API, that is the only API right? I wanted to make a map of all of our locations around the globe, so I ran I parsed some XML with CF and passed all into the JS API, but the browser had memory issues with too many markers. I think they changed this since then, but I had to find all of the latitude/longitude lines beforehand, I think now they have geocoding built in, but I could be wrong. -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 12:42 PM To: CF-Talk Subject: SOT - Google Map API Anyone use the Google Map API yet? I am getting ready to integrate it into a site I am working on and was wondering if anyone has used it and what they though. Thanks, -- Bruce Sorge "I'm a mawg: half man, half dog. I'm my own best friend!" ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267516 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: SOT - Google Map API
Works really well. I used it here: http://www.cfmjet.com/airports.cfm And it was pretty simple. -Original Message- From: Bruce Sorge [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 24, 2007 11:42 AM To: CF-Talk Subject: SOT - Google Map API Anyone use the Google Map API yet? I am getting ready to integrate it into a site I am working on and was wondering if anyone has used it and what they though. Thanks, -- Bruce Sorge "I'm a mawg: half man, half dog. I'm my own best friend!" ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267515 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SOT - Google Map API
On 1/24/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > Anyone use the Google Map API yet? I am getting ready to integrate it into a > site I am working on and was wondering if anyone has used it and what they > though. check out http://tutorial397.easycfm.com/ -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner, prince with a swift warning. Be cunning and full of tricks and your people shall never be destroyed." ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267514 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SOT - Google Map API
yes. used it and liked it. But, you should also look into the yahoo maps. good maps, built on flex. good hooks to cf. On 1/24/07, Bruce Sorge <[EMAIL PROTECTED]> wrote: > > Anyone use the Google Map API yet? I am getting ready to integrate it into > a > site I am working on and was wondering if anyone has used it and what they > though. > > Thanks, > > -- > Bruce Sorge > > "I'm a mawg: half man, half dog. I'm my own best friend!" > > > ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267510 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SOT - Google Map API
Anyone use the Google Map API yet? I am getting ready to integrate it into a site I am working on and was wondering if anyone has used it and what they though. Thanks, -- Bruce Sorge "I'm a mawg: half man, half dog. I'm my own best friend!" ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:267507 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 and CF
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
>>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
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
>>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
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
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
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
>>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
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
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:235122 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