I try to use an open source GIS component (MapWinGIS.ocx version5) in a Clarion 10 app to show geo-locations, stored in TPS files, on a map (as dots and lines).The C-sharp example looks simple:
Shape shp = new Shape();
shp.Create(ShpfileType.SHP_POLYGON);
shp.AddPoint( Point_X, Point_Y);
I can show the (registered) ocx, with tiles, on a Clarion window and zoom and pan using static properties. Would the C-sharp example be doable in Clarion? Any othe rmethod to draw on the map would also do. The few replies in the C10 NG didnāt give me any cluesā¦
Hi Mike,
Thanks for the suggestion. From your answer I learn that it would not be possible to use the Clarion syntax for this. I havenāt done any of these COM interfaces before so ths would be a real challenge. I like the MapWinGIS component very much and it would be a valuable asset for the application I work on. So perhapse I need to take up the challengeā¦
regards, Nico
OK. Sorry for the misinterpretation. My C# knowledge is zero. I have the source for the OCX and include files with all equates and prototypes for Clarion. The declaration of a new shape exceeds my understanding of the property syntax (e.g. ?OLE{āprojection=MERCATORā}. Do you know of a solution or work-around for that?
Regards, Nico