Hello guys,
Happy Christmas!
Just wondering if anyone could point out what I'm doing wrong.
I am using 4.9.2.0, this code worked as expected in 4.8 (vb.net)
TheMap.set_ShapeLayerPointSize(LayerHnd, Size)
TheMap.set_ShapeLayerPointColor(LayerHnd, Colour)
TheMap.set_ShapeLayerPointType(LayerHnd, MapWinGIS.tkPointType.ptSquare)
the colour and size work, but the point is always a dimond....
I have looked at the documenation:
http://www.mapwindow.org/documentation/mapwingis4.9/group__map__shapefile.html#ga315161ac7fb3f077d0162572797568d3
define the method, the second pramiter is the shape you want to use, an interger
defined here - but notice is been deprtcated in 4.8 on,
http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#a0c4fe3b363372cf207b049824877afc6
so i looked at the new enumerator, and that also a int, but still could not get anything to work.
http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#acd5947ada7d32d184f1347fd47c03608
Also intelisense list the tkpoint enum, not the dps... ones.
What am I missing!
Any help would be great
Thanks
Ross
Happy Christmas!
Just wondering if anyone could point out what I'm doing wrong.
I am using 4.9.2.0, this code worked as expected in 4.8 (vb.net)
TheMap.set_ShapeLayerPointSize(LayerHnd, Size)
TheMap.set_ShapeLayerPointColor(LayerHnd, Colour)
TheMap.set_ShapeLayerPointType(LayerHnd, MapWinGIS.tkPointType.ptSquare)
the colour and size work, but the point is always a dimond....
I have looked at the documenation:
http://www.mapwindow.org/documentation/mapwingis4.9/group__map__shapefile.html#ga315161ac7fb3f077d0162572797568d3
define the method, the second pramiter is the shape you want to use, an interger
defined here - but notice is been deprtcated in 4.8 on,
http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#a0c4fe3b363372cf207b049824877afc6
so i looked at the new enumerator, and that also a int, but still could not get anything to work.
http://www.mapwindow.org/documentation/mapwingis4.9/_enumerations_8cs.html#acd5947ada7d32d184f1347fd47c03608
Also intelisense list the tkpoint enum, not the dps... ones.
What am I missing!
Any help would be great
Thanks
Ross