Search found 31 matches: latitude

Return to advanced search

Re: calculates the distance between two towns

... {y-30,x-10,y,x+10},.t.) }   oMap:AddMarker(13.7025,42.6582,30,bDraw) The method AddMarker has parameters: Longitude, Latitude, Radius and a Block, The map drawing code calls the Block if the point at Longitude, Latitude is inside the screen or near the border of less ...
by AntoninoP
Mon Oct 19, 2020 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

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 class that they published at least two years ago, I'm doing ...
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: 2706

Re: calculates the distance between two towns

Hello, I converted a javascript program to FW. This routine calculates the distance between two points (given the latitude/longitude of those points). It is being used to calculate the distance between two locations using GeoDataSource (TM) prodducts Best regards, Otto #include ...
by Silvio.Falconi
Tue Oct 13, 2020 7:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

calculates the distance between two towns

Hello, I converted a javascript program to FW. This routine calculates the distance between two points (given the latitude/longitude of those points). It is being used to calculate the distance between two locations using GeoDataSource (TM) prodducts Best regards, Otto #include ...
by Otto
Mon Oct 12, 2020 3:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: Get latitude and longitude

Some time ago I did a FiveWin control that uses OpenStreetMap: http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35535 here an updated code: #include <fivewin.ch>********** TEST CODE **********proc main    LOCAL oWnd, oMap    DEFINE WINDOW oWnd TITLE "3D objects"    SetWndDef...
by AntoninoP
Wed Jan 16, 2019 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

Re: Get latitude and longitude

Sorry but I couldn't. Anyhow, thanks for your help.
by betoncu
Wed Jan 16, 2019 4:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

Re: Get latitude and longitude

Perfect. Many thanks. Is it possible to pass the coordinates to the calling program? Instead of Shellexecute( NIL, "open", cMapFile )   Use Internet Explorer and read the DIV values of latclicked and longclicked For eg something like oIE:=CreateObject("InternetExplor...
by anserkk
Mon Jan 14, 2019 4:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

Re: Get latitude and longitude

Perfect. Many thanks.
Is it possible to pass the coordinates to the calling program?
by betoncu
Sun Jan 13, 2019 10:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

OT If you do not want to use google maps .. look at this

... of your area and the height you want to see the map 3 An .XML file that you generate with your FW application where you are going to put the latitude and longitude in addition to some icons and a lot of other information that it deserves to appear. The .XML file is updated with a frequency ...
by Busmatic_wpb
Sun Jan 13, 2019 3:55 am
 
Forum: Utilities / Utilidades
Topic: OT If you do not want to use google maps .. look at this
Replies: 6
Views: 1630

Re: Get latitude and longitude

... type="text/javascript">        var map;                function initMap() {                                        var latitude = 27.7172453; // YOUR LATITUDE VALUE            var longitude = 85.3239605; // YOUR LONGITUDE VALUE                        var myLatLng = {lat: ...
by anserkk
Fri Jan 11, 2019 6:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

Get latitude and longitude

How can I get the latitude and longitude of a place clicked by a user on the map.
Thanks in advance
by betoncu
Fri Jan 11, 2019 2:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get latitude and longitude
Replies: 5
Views: 1864

Re: Harbour for the web

... lC1 := .F. EXIT ENDIF NEXT NX2 IF ! lC1 SKIP LOOP ENDIF AADD( aEvent, cC1 ) cGpsLink := "" cLatitude := ALLTRIM(edi315->latitude) cLongitude := ALLTRIM(edi315->longitude) IF (! EMPTY(cLatitude)) .AND. (! EMPTY(cLongitude)) cGpsLink := "http://maps.google.com/?t=k&z=500&q=" ...
by cdmmaui
Sun Aug 12, 2018 12:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour for the web
Replies: 12
Views: 4637

Re: Plotting locations on Google Maps

... Manuel Sandoval", "1", "Torrejon de Ardoz", "Madrid", "Spain" ) ) I need to do this using Latitude e longitude. I have this code that is working: STATIC FUNCTION ShowGoogleMap(aData)LOCAL cHtmlContent1,cHtmlContent2, oOle, i,cMapFileLOCAL ...
by vilian
Fri Mar 17, 2017 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 14308

Re: Plotting locations on Google Maps

My son, has recommended this lib http://leafletjs.com/index.html This is a sample If you have the length and latitude, you do not need to run the function VerMapa2() #include "FiveWin.ch"Static cUrl     := ""Function Main()   Local aDatas := {}  ...
by cnavarro
Wed Mar 15, 2017 9:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 14308

Re: Plotting locations on Google Maps

The most important thing is that: I consider that the Anserkk example is the best way to do this work But, I have another way of getting this data (latitude and longitude) Then you can apply the function to draw the map #include "FiveWin.ch"Static cUrl     := ""Function ...
by cnavarro
Fri Mar 10, 2017 6:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Plotting locations on Google Maps
Replies: 48
Views: 14308
Next

Return to advanced search

cron