Search found 29 matches: mapcontrol

Return to advanced search

Re: Experiment: MapControl

Dear Silvio, Do you mean to allow the user write an address and look for it ? If so, you could use webview and the same URL that you have provided If you are just interested in the result, no need to paint the map, then you could use curl with the google API directly but you need to pay for a key D...
by Silvio.Falconi
Wed Feb 23, 2022 7:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

Dear Silvio,

Do you mean to allow the user write an address and look for it ?

If so, you could use webview and the same URL that you have provided

If you are just interested in the result, no need to paint the map, then you could use curl with the google API
directly but you need to pay for a key
by Antonio Linares
Sat Feb 19, 2022 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

Antonino,
on your class there is the possibility to add lang and Lot
but need a query method to search the address, city and country

for a sample

https://www.openstreetmap.org/search?qu ... %20Pescara
by Silvio.Falconi
Sat Feb 19, 2022 8:01 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

Antonino, any solution ?
by Silvio.Falconi
Wed Feb 02, 2022 12:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: calculates the distance between two towns

... at Longitude, Latitude is inside the screen or near the border of less "radius" pixels. If you don't provide the drawing codeblock the mapControl draw a little X on the marker (see bDefaultMarkerDraw) How to obtain the Longitude and Latitude, we are already talking about it on other ...
by AntoninoP
Mon Oct 19, 2020 6:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2757

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 ...
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: 2757

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>********** ...
by AntoninoP
Fri Oct 16, 2020 12:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2757

Re: calculates the distance between two towns

... 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 tests such as marking the route of a bus in my city you see below, the starting ...
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: 2757

Re: Experiment: MapControl

How make sample to search a address ?
sample : Avda. del Rosario 34-A 29604 Marbella - Spain
it can be usefull utility for show a customer address
by Silvio.Falconi
Mon Mar 25, 2019 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

This is very good. But as a user from India, it is not of much use for us. This is still not as universally useful as Google. For all practical purposes, we still need Google. The same may be the case with many countries. According to this https://gis.stackexchange.com/questions/228162/...
by AntoninoP
Thu Mar 21, 2019 9:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

thanks ..
and If I wish found a specific street ?
Do you saw also for the routers I wrote above?
by Silvio.Falconi
Thu Mar 21, 2019 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

Silvio, thank you for your feedback. Here how draw the marker you post: #include <fivewin.ch>********** TEST CODE **********proc main    LOCAL oWnd, oMap, oMarker, bDraw    DEFINE WINDOW oWnd TITLE "Map Test"    SetWndDefault(oWnd)    oMarker := FW_ReadImage(oWnd,"66...
by AntoninoP
Thu Mar 21, 2019 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720

Re: Experiment: MapControl

Antonino, I saw there is an error because Now I try to inverte the coordinates and I found my city with oMap:SetCenter(13.7025,42.6582) on https://www.openstreetmap.org/export#map=16/42.6572/13.7015 on this box https://i.postimg.cc/9FTK7cLM/nn.png How I can make a...
by Silvio.Falconi
Wed Mar 20, 2019 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6720
Next

Return to advanced search