Search found 98 matches: distance

Return to advanced search

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: 2706

Re: calculates the distance between two towns

Hello Silvio, Thank you. I see that there are values inside ::aMarkers. But there are no markers painted. Best regards, Otto xbrowse( ::aMarkers ) // draw the markers for ix:=1 to len(::aMarkers) x := ::GetTileNumber(::aMarkers[ix,1],::aMarkers[ix,2]) y := (x[2] - sy) * 256 + top x := (x[1] - sx) * ...
by Otto
Sun Oct 18, 2020 4:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Read the class before..


For show markervyou must use use omap:addmarker method
by Silvio.Falconi
Sun Oct 18, 2020 4:03 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 Antonino,
thank you so much for this source code.
All is working fine.
Silvio can you please show how you inserted the markers.
Best regards,
Otto
by Otto
Sat Oct 17, 2020 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

I use a MapControl class that they published at least two years ago, :D :D am I "they" ?! Anyway it is not private, it was an experiment, so I re-share this messy and undocumented code: it was not my intention to offend anyone, "they" is a mistake I made in writing so much so th...
by Silvio.Falconi
Sat Oct 17, 2020 7:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

I use a MapControl class that they published at least two years ago, :D :D am I "they" ?! Anyway it is not private, it was an experiment, so I re-share this messy and undocumented code: #include <fivewin.ch>********** TEST CODE **********proc main   LOCAL oWnd, oMap, oMark...
by AntoninoP
Fri Oct 16, 2020 12:48 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 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 some ...
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 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: 2706

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", "12.4196248" },; { "Lienz" , &qu...
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: 2706

Re: calculates the distance between two towns

Otto, Do you Know how show on a GoogleMAp a line from one point to another and calculate the distance ?
by Silvio.Falconi
Wed Oct 14, 2020 8:57 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, 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, ...
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

Re: calculates the distance between two towns

Otto:

Nice and interesting job.

Regards
by Armando
Mon Oct 12, 2020 4:32 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, ...
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: OT: How are we doing ?

... stories of good I see. I love the pictures from Italy of people going out on their balconies in the evening to sing and greet their neighbors at a distance. Our local community is on Facebook, and people who are younger are always reaching out to my generation ( who need to stay home as a precaution ...
by TimStone
Thu Mar 19, 2020 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: How are we doing ?
Replies: 24
Views: 3689

Re: OT: How are we doing ?

... for daily needs. Of course you can visit your doctor, go to the pharmacy. But for the rest, everybody has to stay home. We also have to keep distance between 2 people, at least 1,5 meter. All over the country, you can't come out with more than 2 people. If possible you have to work from home, ...
by driessen
Wed Mar 18, 2020 10:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: OT: How are we doing ?
Replies: 24
Views: 3689
PreviousNext

Return to advanced search