Search found 21 matches: omap

Return to advanced search

Re: calculates the distance between two towns

... // sample for Sillian local oMarker := FW_ReadImage(oWnd,"marker.png") DEFINE WINDOW oWnd TITLE "Map Test" SetWndDefault(oWnd) oMap := TMapControl():New() // open the class oMap:SetCenter(12.417510,46.747540,10) / set the center of your coordinates bDraw := {|hDC,x,y| FW_DrawImage(hDC, ...
by Silvio.Falconi
Mon Oct 19, 2020 9:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

Otto, have you see my post in previous page?

Silvio.Falconi wrote:oMap:addmarker(12.417510,46.747540,bdraw)

Silvio, you keep forgetting the radius parameter
by AntoninoP
Mon Oct 19, 2020 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: calculates the distance between two towns
Replies: 19
Views: 2706

Re: calculates the distance between two towns

... Sillian 46.747540 |12.417510 LATI|LONG LIenz 46.829460 |12.768950 LATI|LONG then insert these coordinates into add marker method sample oMap:addmarker(12.417510,46.747540,bdraw) bdraw is a codeblock to draw the image I use different bdraw
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: 2706

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

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: 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 ...
by Silvio.Falconi
Wed Mar 20, 2019 5:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Experiment: MapControl
Replies: 23
Views: 6690

Re: Processor Texas

José Carlos,

It seems as some OMAP processors are ARM compatible:
http://en.wikipedia.org/wiki/Texas_Instruments_OMAP
Some of the processors in the OMAP family contain a dual-core architecture consisting of both a general-purpose host ARM processor and one or more DSP.
by Antonio Linares
Tue Sep 15, 2009 11:16 am
 
Forum: FiveWin for Pocket PC
Topic: Processor Texas
Replies: 2
Views: 628

Processor Texas

Anybody know if the TI OMAP 850 processor is compatible with ARM for use with FWPPC
by JoseCarlos
Mon Sep 14, 2009 7:55 pm
 
Forum: FiveWin for Pocket PC
Topic: Processor Texas
Replies: 2
Views: 628

Re: Mappoint Methods question

George,

Yea!

Just for clarity, I would change this line:

oMap := oActiveX:Do( "Newmap", 1 )

To this:

oActiveX:Do( "Newmap", 1 )

Congratulations on getting it working.

James
by James Bott
Tue Aug 11, 2009 10:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question (Solved)

Now is working fine after I am using FWH 9.04 + XHarbour Builder Pro Sep08 This is the code: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oMap := oActiveX:Do( "Newmap", 1 ) hToolBar = oActiveX:GetProp( ...
by George
Tue Aug 11, 2009 7:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question

By using the following code: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oWnd:oClient = oActiveX // To fill the entire window surface oMap := oActiveX:Do( "Newmap", ...
by George
Tue Aug 11, 2009 7:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question

Check the valtype() of oMap right after it is created. From the error method it looks like it is a number.

msgInfo( valtype( oMap ) )

James
by James Bott
Tue Aug 11, 2009 6:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question

oMap := oActiveX:Do("ActiveMap")
ou
oMap := oActiveX:GetProp("ActiveMap")

what is your version of fwh ?
by lailton.webmaster
Tue Aug 11, 2009 3:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question

Hi James,
Mappoint program open OK but now we get the error mesage in oMap := oActiveX:ActiveMap

Error description: Error BASE/1004 Message not found: TACTIVEX:ACTIVEMAP

Regards,

George
by George
Mon Aug 10, 2009 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483

Re: Mappoint Methods question

George, Try this: local hToolBar, hStandard, oMapPoint, nDist, oMap oActiveX = TActiveX():New( oWnd, "MapPoint.Control.16" ) oWnd:oClient = oActiveX // To fill the entire window surface oActiveX:Do( "Newmap", 1 ) hToolBar ...
by James Bott
Sun Aug 09, 2009 4:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mappoint Methods question
Replies: 16
Views: 3483
Next

Return to advanced search

cron