Re: [WebDNA] Google Maps

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114953
interpreted = N
texte = 2581 --000000000000d6730505967d1182 Content-Type: text/plain; charset="UTF-8" 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 --000000000000d6730505967d1182 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
i had i= t working maybe 6 months ago for addresses... and the geocoder below CURREN= TLY works great...

[Hideif [GEO]=3DY]
<body= onload=3D"onLoadSubmit()">

= <script type=3D"text/javascript">=C2=A0
=C2=A0win= dow.onload =3D function getLocationConstant() {
=C2=A0 if(navigat= or.geolocation)
=C2=A0{
=C2=A0 =C2=A0navigator.geolocat= ion.getCurrentPosition(onGeoSuccess); =C2=A0
=C2=A0}=C2=A0
<= div>}
=C2=A0function onGeoSuccess(event)
{
= =C2=A0 =C2=A0document.getElementById("Latitude").value =3D event.= coords.latitude;=C2=A0
=C2=A0 =C2=A0document.getElementById("= ;Longitude").value =3D event.coords.longitude;
=C2=A0 =C2=A0= document.geo.submit();
}
</script>

=
<form name=3D"geo" method=3D"post" action= =3D"">
<input type=3D"hidden" name=3D&q= uot;GEO" value=3D"Y">
<input type=3D"hi= dden" id=3D"Latitude" name=3D"Latitude" value=3D&q= uot;">
<input type=3D"hidden" id=3D"Lon= gitude" name=3D"Longitude" value=3D"">
</form>

[/Hideif]

[Showif [GEO]=3DY]

[text]Latitude=3D[format 4.7f]= [Latitude][/Format][/text]
[text]Longitude=3D[format 4.7f][Longit= ude][/Format][/text]

[text]_host=3Dmaps.googleapis.com[/text]
[text]_pathtopage_data=3Dmaps/api/geocode/xml?address=3D[address]&key= =3DMAPKEY[/text]
[text]DATA=3D
[Middle StartAfter=3D<= ;coordinates>&EndBefore=3D</coordinates>]
[tcpconnec= t host=3D[_host]&port=3D443&ssl=3DT]
[tcpsend skipheader= =3Dt]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, 2= 019 at 7:30 PM Terry Wilson <terry= @terryfic.com> wrote:
How old is this code? Google changed the api 4 or 5 years ago and the ma= p mashup I made stopped working. Client moved on about the same time so I n= ever rewrote it.

Sent from my iPad

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

an= yone=C2=A0know why this no longer works...? tried all kinds of map keys res= tricted and non-restricted,,,
-----------------------------------------= -----------------
[text]address=3D[url]2728 Niagara Falls Bl= vd. N. Tonawanda, NY 14304[/url][/text]


[text]_host=3Dmaps.googleapis.com[/text]
[text]_path= topage_data=3Dmaps/api/geocode/xml?address=3D[address]&Key=3D[Mapkey][/= text]
[text]DATA=3D
[Middle StartAfter=3D<coordinate= s>&EndBefore=3D</coordinates>]
[tcpconnect host=3D[_= host]&port=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_= pathtopage_data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-typ= e: application/x-www-form-urlencoded[UnURL]%0D%0A%0D%0A[/UnURL][/tcpsend]
[/tcpconnect]
[/Middle]
[/text]

=
[DATA]
-----------------------------------------------= -----------
--
Brian Harrington
Auto Glass Xpress
2655 M= illersport Hwy. Suite 1063
Getzville, NY 14068
(716) 86= 1-2029
--------------------------------------------------------- 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 Harrington
Auto Glass Xpress
2655 M= illersport Hwy. Suite 1063
Getzville, NY 14068
(716) 86= 1-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=3D55 Bug Reporting: support@webdna.us --000000000000d6730505967d1182-- . 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)
2581 --000000000000d6730505967d1182 Content-Type: text/plain; charset="UTF-8" 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 --000000000000d6730505967d1182 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
i had i= t working maybe 6 months ago for addresses... and the geocoder below CURREN= TLY works great...

[Hideif [GEO]=3DY]
<body= onload=3D"onLoadSubmit()">

= <script type=3D"text/javascript">=C2=A0
=C2=A0win= dow.onload =3D function getLocationConstant() {
=C2=A0 if(navigat= or.geolocation)
=C2=A0{
=C2=A0 =C2=A0navigator.geolocat= ion.getCurrentPosition(onGeoSuccess); =C2=A0
=C2=A0}=C2=A0
<= div>}
=C2=A0function onGeoSuccess(event)
{
= =C2=A0 =C2=A0document.getElementById("Latitude").value =3D event.= coords.latitude;=C2=A0
=C2=A0 =C2=A0document.getElementById("= ;Longitude").value =3D event.coords.longitude;
=C2=A0 =C2=A0= document.geo.submit();
}
</script>

=
<form name=3D"geo" method=3D"post" action= =3D"">
<input type=3D"hidden" name=3D&q= uot;GEO" value=3D"Y">
<input type=3D"hi= dden" id=3D"Latitude" name=3D"Latitude" value=3D&q= uot;">
<input type=3D"hidden" id=3D"Lon= gitude" name=3D"Longitude" value=3D"">
</form>

[/Hideif]

[Showif [GEO]=3DY]

[text]Latitude=3D[format 4.7f]= [Latitude][/Format][/text]
[text]Longitude=3D[format 4.7f][Longit= ude][/Format][/text]

[text]_host=3Dmaps.googleapis.com[/text]
[text]_pathtopage_data=3Dmaps/api/geocode/xml?address=3D[address]&key= =3DMAPKEY[/text]
[text]DATA=3D
[Middle StartAfter=3D<= ;coordinates>&EndBefore=3D</coordinates>]
[tcpconnec= t host=3D[_host]&port=3D443&ssl=3DT]
[tcpsend skipheader= =3Dt]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, 2= 019 at 7:30 PM Terry Wilson <terry= @terryfic.com> wrote:
How old is this code? Google changed the api 4 or 5 years ago and the ma= p mashup I made stopped working. Client moved on about the same time so I n= ever rewrote it.

Sent from my iPad

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

an= yone=C2=A0know why this no longer works...? tried all kinds of map keys res= tricted and non-restricted,,,
-----------------------------------------= -----------------
[text]address=3D[url]2728 Niagara Falls Bl= vd. N. Tonawanda, NY 14304[/url][/text]


[text]_path= topage_data=3Dmaps/api/geocode/xml?address=3D[address]&Key=3D[Mapkey][/= text]
[text]DATA=3D
[Middle StartAfter=3D<coordinate= s>&EndBefore=3D</coordinates>]
[tcpconnect host=3D[_= host]&port=3D443&ssl=3DT]
[tcpsend skipheader=3Dt]GET /[_= pathtopage_data] HTTP/1.0[unurl]%0D%0A[/unurl][!]
[/!]Content-typ= e: application/x-www-form-urlencoded[unurl]%0D%0A%0D%0A[/UnURL][/tcpsend]
[/tcpconnect]
[/Middle]
[/text]

=
[DATA]
-----------------------------------------------= -----------
--
Brian Harrington
Auto Glass Xpress
2655 M= illersport Hwy. Suite 1063
Getzville, NY 14068
(716) 86= 1-2029
--------------------------------------------------------- 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 Harrington
Auto Glass Xpress
2655 M= illersport Hwy. Suite 1063
Getzville, NY 14068
(716) 86= 1-2029
--------------------------------------------------------- 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 --000000000000d6730505967d1182-- . 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:

2.1b3 --> way slow (1997) Repeating Fields (1997) PCS Frames (1997) IE Cache Problems... (1999) [group] ? (1997) encripted storage (1998) RE: Languages (1997) Math problems (1998) Sorting... stumped. (2006) [WebDNA] Http or Https (2009) Checking for blank form fields (sort of...) (1998) Include (2000) 2 databases problem (1997) using showpage and showcart commands (1996) Date search - yes or no (1997) includes and cart numbers (1997) 2.0 Beta (1997) WebCat2b12 - nesting [tags] (1997) Color (1997) Using Plug-In while running 1.6.1 (1997)