New Post: length as a label ?
Hi, Would it be possible to add shape length as a label without storing it in an attribute before ? Thanks, Olivier
View ArticleNew Post: GridColorScheme not working on int data types
Thanks for sharing these links. Regarding x64 version - it should be available soon, Paul is working on this I believe. I can provide help with other issues when you decide to upgrade. Presumably...
View ArticleNew Post: length as a label ?
Certainly. With something like this: sf.Labels.Clear(); for (int i = 0; i < sf.NumShapes; i++) { var shape = sf.Shape[i]; var pnt = shape.Centroid; sf.Labels.AddLabel(shape.Length.ToString(), pnt.x,...
View ArticleNew Post: length as a label ?
Thanks for this idea Sergei, I was think of another way of using "Generate." Bythe way, is it possible to create an event to call this procedure when sf or axmap redraws (at the beginning) ? My problem...
View ArticleNew Post: How to change the default color for selection of shapefiles
Could you tell me how to change the default color for section of shapefiles. The default color is yellow. I want to change it to red and display vertices in blue squares. Thank you for your help.
View ArticleNew Post: How to change the default color for selection of shapefiles
Sorry, I want to know how to change the default section color for all shapefiles loaded into my customised GIS application. I am using MapWinGIS v4.9.3.4 Win32.
View ArticleNew Post: length as a label ?
There is no event to do it I believe. Map.OnDrawBackBuffer / BeforeDrawing / AfterDrawing are fired only when the data layers are already drawn. In fact would be good to add such an event. You can...
View ArticleNew Post: How to change the default color for selection of shapefiles
Please see Shapefile.SelectionColor. For a more customized selection style see Shapefile.SelectionAppearance (should be set to saDrawingOptions) and Shapefile.SelectionDrawingOptions. Hope it helps,...
View ArticleSource code checked in, #c453d89edf5db8683ce863e0a4a6e2443b9cd4ca
A fix for missing area after finishing measuring by double click.
View ArticleSource code checked in, #7b364abb23f1066aa238f9da51d1acf4bc081100
x64 configuration in demo app.
View ArticleSource code checked in, #70b4d7b05e960b299ae4ee0b4ce2857150a60b0a
x64 version of cqlib.
View ArticleNew Post: MAPDATUM
Good morning. How do I know in VBA if the map that I loaded in my control map is WGS84? Nicolò
View ArticleNew Post: Altitude (quotas)
Good morning. Want to know if MAPWINGIS can manage altitude and if there is a way to integrate them. Nicolò
View ArticleNew Post: MAPDATUM
Comparison of coordinate systems can be difficult since often there is no canonical definition. Therefore for practical purposes I would recommend GeoProjection.get_IsSameExt: private bool...
View ArticleNew Post: Altitude (quotas)
There is hardly any specific altitude related functionality. MapWinGIS can process shapefiles with Z and M values but those values aren't used during rendering. Obviously altitude can be stored as an...
View ArticleNew Post: MAPDATUM
Ok. I solved in this way to get Datum: MyImg.GeoProjection.NAME 'returns mapdatum eg WGS 84, ED50, etc Thank you. Nicolò
View ArticleNew Post: Altitude (quotas)
Thank you but I want to get the value of the altitude, the numerical quota, not the graphical representation. Nicolò
View ArticleNew Post: MAPDATUM
Fine, just be cautious, since the name may be different even if a definition is the same.
View ArticleNew Post: Altitude (quotas)
Do you mean for particular lat / lng on the globe? Then you need some kind of online service. MapWinGIS definitely doesn't provide the values. However if your datasets store altitude in some form, most...
View ArticleNew Post: No Legend Control for MapWinGIS 4.9.3.1
Can u please give me a sample using the legend offered in MWLile.Symbology.dll? I try to use it, but there are problems in setting layer visible or not. My Question is how to link the legend control...
View Article