Select to view content in your preferred language

How turn on/off sublayers of ArcGISDynamicMapServiceLayer

3505
2
05-14-2013 11:58 PM
MarkusBrigl
Deactivated User
The ArcGISDynamicMapServiceLayer provides access to each single sub-layer through the MapServiceLayerInfo.

How can I change the visibility of a single sub-layer. The MapServicaLayerInfo provides only the default visibility.
0 Kudos
2 Replies
MarkusBrigl
Deactivated User
It doesn't.

The API provides only a setDefaultVisibility and not a setVisible on sub Layers.
The method setVisible is available only on layers and not on sub - layers.
0 Kudos
JeanneTrieu
Deactivated User
Hi,

Sorry for the confusion. This functionality will be added in the final release.

Thanks,
0 Kudos