Quantcast
Viewing all articles
Browse latest Browse all 2341

Commented Unassigned: Problem with MapWinGis v4.9.3.4 [25993]

Hello.
In new version MapWinGis v4.9.3.4 is a lot of change. I must to rebuild over again my project. For example the problem is:
axMap1.get_ShapeFillColor - no equivalent in the new version
axMap1.set_ShapeFillColor- no equivalent in the new version
axMap1.set_ShapeFillTransparency - no equivalent in the new version
And most important I can not use the method for AxMap1. For example:
MouseDownEvent, MouseMoveEvent.

Win7, C# Visual Studio 2010, Framework 4.0
References which I use for my project:
AxMapWinGis v4.9.0.0
MapWindow.Interfaces v1.0.0.0
MapWinGeoProc v4.8.6.42997
MapWinGis v4.9.0.0
MWLite.Symbology v4.8.4.22377

Please help. Regards Daniel.
Comments: ** Comment from web user: sleschinski **

Hi Daniel, you are right regarding AxMap.get_ShapeFillColor, etc. In the new version (starting from 4.8 I believe) categories should be used instead. Please check the list of [deprecated methods](http://www.mapwindow.org/documentation/mapwingis4.9/class_ax_map___deprecated.html) (there are also tips on the new alternatives there). And here are samples for some [common tasks with the latest API](https://mapwingis.codeplex.com/wikipage?title=Shapefile%20common%20tasks). To hide a single shape [Shapefile.ShapeIsHidden](http://www.mapwindow.org/documentation/mapwingis4.9/class_shapefile.html#aaee177a96ed6b5d8a2db4b224953ba91) property can be used.

I would also suggest to start from asking a question in discussion thread. Issues are generally needed to track bugs and for feature requests.

Regards,
Sergei


Viewing all articles
Browse latest Browse all 2341

Trending Articles