interaction with google maps

55 views
Skip to first unread message

Ronaldo Geniais

unread,
Sep 20, 2021, 2:44:30 PMSep 20
to Harbour Users
in the examples folder there is an example of interaction with google maps, but Gmap.html seems to be out of date because there is an error, does anyone have an updated example?

Auge & Ohr

unread,
Sep 20, 2021, 3:16:36 PMSep 20
to Harbour Users
hi,

i did not found "Gmap.html"in HMG or MiniGUI ... only in FiveWin

i use it this Way :

PROCEDURE ShowMap( cTab )
LOCAL cURL := "http://maps.google.com/maps?q="
         cURL += STRTRAN( ( TRIM( XPPTEL->STRASSE ) ), " ", "%20" ) + "%20"
         cURL += STRTRAN( ( TRIM( XPPTEL->PLZ ) ), " ", "%20" ) + "%20"
         cURL += STRTRAN( ( TRIM( XPPTEL->STADT ) ), " ", "%20" )

   SHELLOPENFILE( cURL )
RETURN

Jimmy

Ronaldo Geniais

unread,
Sep 20, 2021, 3:29:18 PMSep 20
to Harbour Users
jimmy
Thanks
I will test with what you gave me.
But the example I referred to, is at:
C:\MiniGUI\SAMPLES\Advanced\GoogleMaps

I need something like the example,
I give the address and it shows me on the map.
I would also like to click on the map and it will return the address to me.

Auge & Ohr

unread,
Sep 20, 2021, 5:47:21 PMSep 20
to Harbour Users
hi,

> C:\MiniGUI\SAMPLES\Advanced\GoogleMaps
i did not have that  Sample, only c:\MiniGUI\SAMPLES\Advanced\GoogleCharts\
which Version do you have ?

> would also like to click on the map and it will return the address to me.
it will show you given Street / City in Google Map ... not sure how to "Get" Adresse "from" Map

! Note : Google Map need a (paid) "Key" if you use it for commercial Apps.
it will stop working when have made "to much" Query each Day without "Key"

Jimmy
Reply all
Reply to author
Forward
0 new messages