Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

Closed Unassigned: LegendText ReadOnly [63599]

$
0
0
Hi,
I'm using this code for to identify the single layer present in 'MapLayers'

```
IMapFeatureLayer[] arrayLayer = currentMap.GetFeatureLayers();

foreach (IMapFeatureLayer layer in arrayLayer)
{
if (layer.LegendText.Equals(layerToRemoved.LegendText))
{
//TODO
}
}

```

In treeview of 'MapLayers', can I block the name of layer as ReadOnly?

Thanks.
Comments: https://github.com/DotSpatial/DotSpatial/issues/750

Viewing all articles
Browse latest Browse all 3973

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>