Hi,
I would select a Layer in the MapFrame, so I wrote:
```
int indexLayerPdl = AppManager.Map.Layers.IndexOf(layerAdded);
AppManager.Map.Layers.SelectLayer(indexLayerPdl);
```
where layerAdded is a IMapFeatureLayer created before.
The value of indexLayerPdl is 4, ma in the MapFrame the layer is not selected.
Why?
Thanks!
Comments: Help me!
I would select a Layer in the MapFrame, so I wrote:
```
int indexLayerPdl = AppManager.Map.Layers.IndexOf(layerAdded);
AppManager.Map.Layers.SelectLayer(indexLayerPdl);
```
where layerAdded is a IMapFeatureLayer created before.
The value of indexLayerPdl is 4, ma in the MapFrame the layer is not selected.
Why?
Thanks!
Comments: Help me!