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

Commented Unassigned: Select Layer in the MapFrame [63592]

$
0
0
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!

Viewing all articles
Browse latest Browse all 3973

Latest Images

Trending Articles



Latest Images