Re: [WebDNA] Google Maps

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114954
interpreted = N
texte = 2582 --00000000000025294b05967d16a9 Content-Type: text/plain; charset="UTF-8" [text]address=[url][Latitude],[Longitude][/url][/text] On Sun, Nov 3, 2019 at 10:39 PM Brian Harrington wrote: > i had it working maybe 6 months ago for addresses... and the geocoder > below CURRENTLY works great... > > [Hideif [GEO]=Y] > > > > >
> > > >
> > [/Hideif] > > [Showif [GEO]=Y] > > [text]Latitude=[format 4.7f][Latitude][/Format][/text] > [text]Longitude=[format 4.7f][Longitude][/Format][/text] > > [text]_host=maps.googleapis.com[/text] > > [text]_pathtopage_data=maps/api/geocode/xml?address=[address]&key=MAPKEY[/text] > [text]DATA= > [Middle StartAfter=&EndBefore=] > [tcpconnect host=[_host]&port=443&ssl=T] > [tcpsend skipheader=t]GET /[_pathtopage_data] > HTTP/1.0[unurl]%0D%0A[/unurl][!] > [/!]Content-type: > application/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend] > [/tcpconnect] > [/Middle] > [/text] > > [DATA] > > On Sun, Nov 3, 2019 at 7:30 PM Terry Wilson wrote: > >> How old is this code? Google changed the api 4 or 5 years ago and the map >> mashup I made stopped working. Client moved on about the same time so I >> never rewrote it. >> >> Sent from my iPad >> >> On Nov 3, 2019, at 3:11 PM, Brian Harrington >> wrote: >> >> anyone know why this no longer works...? tried all kinds of map keys >> restricted and non-restricted,,, >> ---------------------------------------------------------- >> [text]address=[url]2728 Niagara Falls Blvd. N. Tonawanda, NY >> 14304[/url][/text] >> >> >> >> [text]_host=maps.googleapis.com[/text] >> >> [text]_pathtopage_data=maps/api/geocode/xml?address=[address]&Key=[Mapkey][/text] >> [text]DATA= >> [Middle StartAfter=&EndBefore=] >> [tcpconnect host=[_host]&port=443&ssl=T] >> [tcpsend skipheader=t]GET /[_pathtopage_data] >> HTTP/1.0[unurl]%0D%0A[/unurl][!] >> [/!]Content-type: >> application/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend] >> [/tcpconnect] >> [/Middle] >> [/text] >> >> [DATA] >> ---------------------------------------------------------- >> -- >> Brian Harrington >> Auto Glass Xpress >> 2655 Millersport Hwy. Suite 1063 >> Getzville, NY 14068 >> (716) 861-2029 >> www.Auto-Glass-Xpress.com >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list talk@webdna.us >> To unsubscribe, E-mail to: talk-leave@webdna.us archives: >> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list talk@webdna.us >> To unsubscribe, E-mail to: talk-leave@webdna.us archives: >> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > > > -- > Brian Harrington > Auto Glass Xpress > 2655 Millersport Hwy. Suite 1063 > Getzville, NY 14068 > (716) 861-2029 > www.Auto-Glass-Xpress.com > -- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --00000000000025294b05967d16a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
[text]address=3D[url][Latitude],[Longitud= e][/url][/text]

On Sun, Nov 3, 2019 at 10:39 PM Brian Harrington &= lt;autoglasswny@gmail.com>= wrote:
i had it working maybe 6 months ago for addresse= s... and the geocoder below CURRENTLY works great...

[Hi= deif [GEO]=3DY]
<body onload=3D"onLoadSubmit()"><= br>

<script type=3D"text/javascript&q= uot;>=C2=A0
=C2=A0window.onload =3D function getLocationConsta= nt() {
=C2=A0 if(navigator.geolocation)
=C2=A0{
=C2=A0 =C2=A0navigator.geolocation.getCurrentPosition(onGeoSuccess); =C2= =A0
=C2=A0}=C2=A0
}
=C2=A0function onGeoSucce= ss(event)
{
=C2=A0 =C2=A0document.getElementById("= Latitude").value =3D event.coords.latitude;=C2=A0
=C2=A0 =C2= =A0document.getElementById("Longitude").value =3D event.coords.lo= ngitude;
=C2=A0 =C2=A0document.geo.submit();
}
</script>

<form name=3D"geo" = method=3D"post" action=3D"">
<input typ= e=3D"hidden" name=3D"GEO" value=3D"Y">
<input type=3D"hidden" id=3D"Latitude" name= =3D"Latitude" value=3D"">
<input type= =3D"hidden" id=3D"Longitude" name=3D"Longitude&quo= t; value=3D"">
</form>

[/Hideif]

[Showif [GEO]=3DY]

[text]Latitude=3D[format 4.7f][Latitude][/Format][/text]
[t= ext]Longitude=3D[format 4.7f][Longitude][/Format][/text]
[text]_host=3Dmaps.googleapis.com[/text]
[text]_pathtopage_da= ta=3Dmaps/api/geocode/xml?address=3D[address]&key=3DMAPKEY[/text]
=
[text]DATA=3D
[Middle StartAfter=3D<coordinates>&E= ndBefore=3D</coordinates>]
[tcpconnect host=3D[_host]&p= ort=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_pathtopage_= data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-type: applicat= ion/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend]
[/= tcpconnect]
[/Middle]
[/text]

[DATA]

On Sun, Nov 3, 2019 at 7:30 PM Terry Wi= lson <terry@terr= yfic.com> wrote:
Ho= w old is this code? Google changed the api 4 or 5 years ago and the map mas= hup I made stopped working. Client moved on about the same time so I never = rewrote it.

Sent from my iPad

On Nov 3, 2019, at 3:11 = PM, Brian Harrington <autoglasswny@gmail.com> wrote:

anyon= e=C2=A0know why this no longer works...? tried all kinds of map keys restri= cted and non-restricted,,,
--------------------------------------------= --------------
[text]address=3D[url]2728 Niagara Falls Blvd.= N. Tonawanda, NY 14304[/url][/text]


[text]_pathtopag= e_data=3Dmaps/api/geocode/xml?address=3D[address]&Key=3D[Mapkey][/text]=
[text]DATA=3D
[Middle StartAfter=3D<coordinates>= &EndBefore=3D</coordinates>]
[tcpconnect host=3D[_host]= &port=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_patht= opage_data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-type: ap= plication/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend]
<= div>[/tcpconnect]
[/Middle]
[/text]

[DATA]
----------------------------------------------------= ------
--
Brian Harrington
Auto Glass Xpress
2655 Miller= sport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-202= 9
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us


--
=
Brian Harringt= on
Auto Glass Xpress
2655 Millersport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-2029


--
Bria= n Harrington
Auto Glass Xpress
2655 Millersport Hwy. Su= ite 1063
Getzville, NY 14068
(716) 861-2029
<= a href=3D"http://www.Auto-Glass-Xpress.com" target=3D"_blank">www.Auto-Glas= s-Xpress.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --00000000000025294b05967d16a9-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Google Maps (Brian Harrington 2019)
  2. Re: [WebDNA] Google Maps (Brian Harrington 2019)
  3. Re: [WebDNA] Google Maps (Brian Harrington 2019)
  4. Re: [WebDNA] Google Maps (Terry Wilson 2019)
  5. Re: [WebDNA] Google Maps (Stuart Tremain 2019)
  6. [WebDNA] Google Maps (Brian Harrington 2019)
  7. [WebDNA] Google Maps API Store Locator Utility Library (george r 2013)
2582 --00000000000025294b05967d16a9 Content-Type: text/plain; charset="UTF-8" [text]address=[url][Latitude],[Longitude][/url][/text] On Sun, Nov 3, 2019 at 10:39 PM Brian Harrington wrote: > i had it working maybe 6 months ago for addresses... and the geocoder > below CURRENTLY works great... > > [Hideif [GEO]=Y] > > > > >
> > > >
> > [/Hideif] > > [Showif [GEO]=Y] > > [text]Latitude=[format 4.7f][Latitude][/Format][/text] > [text]Longitude=[format 4.7f][Longitude][/Format][/text] > > [text]_host=maps.googleapis.com[/text] > > [text]_pathtopage_data=maps/api/geocode/xml?address=[address]&key=MAPKEY[/text] > [text]DATA= > [Middle StartAfter=&EndBefore=] > [tcpconnect host=[_host]&port=443&ssl=T] > [tcpsend skipheader=t]GET /[_pathtopage_data] > HTTP/1.0[unurl]%0D%0A[/unurl][!] > [/!]Content-type: > application/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend] > [/tcpconnect] > [/Middle] > [/text] > > [DATA] > > On Sun, Nov 3, 2019 at 7:30 PM Terry Wilson wrote: > >> How old is this code? Google changed the api 4 or 5 years ago and the map >> mashup I made stopped working. Client moved on about the same time so I >> never rewrote it. >> >> Sent from my iPad >> >> On Nov 3, 2019, at 3:11 PM, Brian Harrington >> wrote: >> >> anyone know why this no longer works...? tried all kinds of map keys >> restricted and non-restricted,,, >> ---------------------------------------------------------- >> [text]address=[url]2728 Niagara Falls Blvd. N. Tonawanda, NY >> 14304[/url][/text] >> >> >> >> [text]_host=maps.googleapis.com[/text] >> >> [text]_pathtopage_data=maps/api/geocode/xml?address=[address]&Key=[Mapkey][/text] >> [text]DATA= >> [Middle StartAfter=&EndBefore=] >> [tcpconnect host=[_host]&port=443&ssl=T] >> [tcpsend skipheader=t]GET /[_pathtopage_data] >> HTTP/1.0[unurl]%0D%0A[/unurl][!] >> [/!]Content-type: >> application/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend] >> [/tcpconnect] >> [/Middle] >> [/text] >> >> [DATA] >> ---------------------------------------------------------- >> -- >> Brian Harrington >> Auto Glass Xpress >> 2655 Millersport Hwy. Suite 1063 >> Getzville, NY 14068 >> (716) 861-2029 >> www.Auto-Glass-Xpress.com >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list talk@webdna.us >> To unsubscribe, E-mail to: talk-leave@webdna.us archives: >> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us >> >> --------------------------------------------------------- This message is >> sent to you because you are subscribed to the mailing list talk@webdna.us >> To unsubscribe, E-mail to: talk-leave@webdna.us archives: >> http://www.webdna.us/page.dna?numero=55 Bug Reporting: support@webdna.us > > > > -- > Brian Harrington > Auto Glass Xpress > 2655 Millersport Hwy. Suite 1063 > Getzville, NY 14068 > (716) 861-2029 > www.Auto-Glass-Xpress.com > -- Brian Harrington Auto Glass Xpress 2655 Millersport Hwy. Suite 1063 Getzville, NY 14068 (716) 861-2029 www.Auto-Glass-Xpress.com --00000000000025294b05967d16a9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
[text]address=3D[url][Latitude],[Longitud= e][/url][/text]

On Sun, Nov 3, 2019 at 10:39 PM Brian Harrington &= lt;autoglasswny@gmail.com>= wrote:
i had it working maybe 6 months ago for addresse= s... and the geocoder below CURRENTLY works great...

[Hi= deif [GEO]=3DY]
<body onload=3D"onLoadSubmit()"><= br>

<script type=3D"text/javascript&q= uot;>=C2=A0
=C2=A0window.onload =3D function getLocationConsta= nt() {
=C2=A0 if(navigator.geolocation)
=C2=A0{
=C2=A0 =C2=A0navigator.geolocation.getCurrentPosition(onGeoSuccess); =C2= =A0
=C2=A0}=C2=A0
}
=C2=A0function onGeoSucce= ss(event)
{
=C2=A0 =C2=A0document.getElementById("= Latitude").value =3D event.coords.latitude;=C2=A0
=C2=A0 =C2= =A0document.getElementById("Longitude").value =3D event.coords.lo= ngitude;
=C2=A0 =C2=A0document.geo.submit();
}
</script>

<form name=3D"geo" = method=3D"post" action=3D"">
<input typ= e=3D"hidden" name=3D"GEO" value=3D"Y">
<input type=3D"hidden" id=3D"Latitude" name= =3D"Latitude" value=3D"">
<input type= =3D"hidden" id=3D"Longitude" name=3D"Longitude&quo= t; value=3D"">
</form>

[/Hideif]

[Showif [GEO]=3DY]

[text]Latitude=3D[format 4.7f][Latitude][/Format][/text]
[t= ext]Longitude=3D[format 4.7f][Longitude][/Format][/text]
[text]_pathtopage_da= ta=3Dmaps/api/geocode/xml?address=3D[address]&key=3DMAPKEY[/text]
=
[text]DATA=3D
[Middle StartAfter=3D<coordinates>&E= ndBefore=3D</coordinates>]
[tcpconnect host=3D[_host]&p= ort=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_pathtopage_= data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-type: applicat= ion/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend]
[/= tcpconnect]
[/Middle]
[/text]

[DATA]

On Sun, Nov 3, 2019 at 7:30 PM Terry Wi= lson <terry@terr= yfic.com> wrote:
Ho= w old is this code? Google changed the api 4 or 5 years ago and the map mas= hup I made stopped working. Client moved on about the same time so I never = rewrote it.

Sent from my iPad

On Nov 3, 2019, at 3:11 = PM, Brian Harrington <autoglasswny@gmail.com> wrote:

anyon= e=C2=A0know why this no longer works...? tried all kinds of map keys restri= cted and non-restricted,,,
--------------------------------------------= --------------
[text]address=3D[url]2728 Niagara Falls Blvd.= N. Tonawanda, NY 14304[/url][/text]


[text]_pathtopag= e_data=3Dmaps/api/geocode/xml?address=3D[address]&Key=3D[Mapkey][/text]=
[text]DATA=3D
[Middle StartAfter=3D<coordinates>= &EndBefore=3D</coordinates>]
[tcpconnect host=3D[_host]= &port=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_patht= opage_data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-type: ap= plication/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend]
<= div>[/tcpconnect]
[/Middle]
[/text]

[DATA]
----------------------------------------------------= ------
--
Brian Harrington
Auto Glass Xpress
2655 Miller= sport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-202= 9
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@w= ebdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: suppo= rt@webdna.us


--
=
Brian Harringt= on
Auto Glass Xpress
2655 Millersport Hwy. Suite 1063
Getzville, NY 14068
(716) 861-2029


--
Bria= n Harrington
Auto Glass Xpress
2655 Millersport Hwy. Su= ite 1063
Getzville, NY 14068
(716) 861-2029
<= a href=3D"http://www.Auto-Glass-Xpress.com" target=3D"_blank">www.Auto-Glas= s-Xpress.com
--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --00000000000025294b05967d16a9-- . Brian Harrington

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Web Catalog 2 demo (1997) Date search - yes or no (1997) [SHOWIF AND/OR] (1997) [WebDNA] Not even sure what to ask for help on. . . :( (2008) Showif vs. IF/then/else (2001) RE: Automatic Forwarding using WebCat (1997) question: writing files textb in webmerch (1997) Who needs Yoda! (2002) Re[2]: 2nd WebCatalog2 Feature Request (1996) Bugs? What Bugs? was:Spawning Holdup? (2000) Cart Transfer from Un-Secure to Secure (2000) WebMerchant issues. [Resent] (2000) WebCatalog on SUSE-Linux 6.3... please help! (2000) OT - SMSI complaint (2001) [WebDNA] Apache .htpasswd (2014) [searchstring] (2000) turning every 5th line red (1999) Comments in db? (1997) simple answer? [hideif] (1997) Up and running ... at last !! (1997)