Select to view content in your preferred language

Visible Layer List collection changed

651
2
01-07-2011 03:07 AM
LakshmananVenkatesan
Frequent Contributor
Hi

I want to get the map visible layers list at any instance of my application. I am using legend control to switch on/off the layers. I want to get the map visible layers at any time, what is corresponding event where I can get dynmicservicelayers.visiblelayers?

Hope I am clear with my question.
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
what is corresponding event where I can get dynmicservicelayers.visiblelayers?


You can use the 'VisibilityChanged' event of the ArcGISDynamicMapServiceLayer class.
0 Kudos
LakshmananVenkatesan
Frequent Contributor
Thanks for your message
0 Kudos