Search found 33 matches: lat

Return to advanced search

Re: calculates the distance between two towns

... that the array containing the marker is filled. But in my case, the marker is not painted. Best regards, Otto you not see any markers because your lat and long are wrong    local  dist :=0   local  lat1:=46.7528                         //Sillian   local  lon1:=12.4211   local  lat2:=48.2077     ...
by Silvio.Falconi
Mon Oct 19, 2020 8:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3341

Re: calculates the distance between two towns

I NOT UNDERSTOOD
YOU MUST INSERT
OMAP:ADDMARKER(LONG,LAT,BDRAW)
AND THIS DRAW THE MARKER ON X,Y
by Silvio.Falconi
Sun Oct 18, 2020 11:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3341

Re: GPS coordinates

run ok
but Now how obtainthe Lat e long from that message ?
by Silvio.Falconi
Fri Oct 16, 2020 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GPS coordinates
Replies: 9
Views: 1876

Re: calculates the distance between two towns

Hello Silvio, >the lat and long are wrong what do you mean with this. Very good. Can you share your source code. Best regards, Otto I mean the latitude the longitude of Sillian and Lienz that you wrote are wrong I use a MapControl ...
by Silvio.Falconi
Thu Oct 15, 2020 5:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3341

Re: calculates the distance between two towns

Hello Silvio,
>the lat and long are wrong
what do you mean with this.

Very good. Can you share your source code.
Best regards,
Otto
by Otto
Thu Oct 15, 2020 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3341

Re: calculates the distance between two towns

Otto, the lat and long are wrong but I create the map with a new class ( no googlemap) these are right Local aLineaTest:={; { "Brunic" , "46.79300837", "11.95655823" },; { "Sillian" , "46.7474103", ...
by Silvio.Falconi
Thu Oct 15, 2020 3:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 3341

Re: Experiment: MapControl

The conversion street -> lat long is a problem. OpenStreetMap uses nominatim that has an API too. There is other free geolocation services, but I did not try them so much. I take this opportunity to put the updated code in this thread ...
by AntoninoP
Wed Mar 20, 2019 10:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 7718

Re: Get latitude and longitude

... Once you have the API key with you, the following code will work. I tested it here with my API key and is working fine. The code will show the lat and lon of the place when you move your mouse, if you click on a point on the map, it will place a marker where you have clicked. It will also show ...
by anserkk
Fri Jan 11, 2019 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 2042

Re: Localizacion y Seguimiento con google earth .

... cfecha :=substr(Data1,5,10 ) chora :=substr(Data1,19,10,) cPLaca :=substr(Data1,29,6) cNosae :=substr(Data1,35,10) cparada :=substr(Data1,45,20) clat :=substr(Data1,66,10) clon :=substr(Data1,77,10) cSPEED :=substr(Data1,97,10) *** empezamos agregar la primera etiqueta AAdd( alineas, ' <marker>' ...
by Busmatic_wpb
Wed Apr 18, 2018 1:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Localizacion y Seguimiento con google earth .
Replies: 10
Views: 4759

Rutina para leer Gps

... RIGHT PIXEL @ 5, 60 GET oGps:cDate SIZE 80, 20 WHEN .f. PIXEL OF oWnd @ 5, 145 GET oGps:cTime SIZE 60, 20 WHEN .f. PIXEL OF oWnd @ 27, 5 SAY "Lat." SIZE 53,20 RIGHT PIXEL @ 27, 60 GET oGps:cLat SIZE 80,20 WHEN .f. PIXEL OF oWnd @ 27, 145 GET oGps:cNS SIZE 20,20 WHEN .f. PIXEL OF oWnd ...
by Busmatic_wpb
Sat Jul 22, 2017 1:10 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rutina para leer Gps
Replies: 1
Views: 1034

Test GPS Error en encontrado

... RIGHT PIXEL @ 5, 60 GET oGps:cDate SIZE 80, 20 WHEN .f. PIXEL OF oWnd @ 5, 145 GET oGps:cTime SIZE 60, 20 WHEN .f. PIXEL OF oWnd @ 27, 5 SAY "Lat." SIZE 53,20 RIGHT PIXEL @ 27, 60 GET oGps:cLat SIZE 80,20 WHEN .f. PIXEL OF oWnd @ 27, 145 GET oGps:cNS SIZE 20,20 WHEN .f. PIXEL OF oWnd ...
by Busmatic_wpb
Fri Jul 21, 2017 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test GPS Error en encontrado
Replies: 0
Views: 669

Re: Plotting locations on Google Maps

I think I have not understood him well yet

If you have lat and long, Pass the array with that data to the function

ViewLeafLet( aDatas )
by cnavarro
Fri Mar 17, 2017 2:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 15965

Re: Plotting locations on Google Maps

Please look function in my sample

viewtopic.php?f=3&t=33729&start=15#p199586

and uncomment line

// XBrowse(


My function VerMapa2, return lat and long and other data
Use only position 2 and 3 of array aData
by cnavarro
Fri Mar 17, 2017 2:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 15965

Re: Plotting locations on Google Maps

Cnavarro,

You are creating the markers trough its address, isn't it ?
What i need to change for to do this trough lat/lng?
by vilian
Fri Mar 17, 2017 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 15965

Re: Plotting locations on Google Maps

nageswaragunupudi wrote:
May be you can run this routine once in a while to update the Lat and Lng in your Customer address DBF/Table.

It is a good idea to find latlong and save it in database when adding a contact or modifying the address of a contact.
.
Yes. you are right. That's the right way to do.
by anserkk
Fri Mar 10, 2017 5:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 15965
Next

Return to advanced search