Select to view content in your preferred language

How do I get the layer visibility of sub layer

1058
0
05-01-2017 08:13 PM
DeepikaJain1
Emerging Contributor

API: ArcGIS Javascript

I have group layers in ArcGISdynamicmapservice and need to get the visibility of the sub layers, for example: if group layer is checked off and sub layer is checked on, I need to get the sub layer if its checked on.

visibeLayers = operLayerInfos._layerInfos.layerObject.visibleLayers;

this method returns me the visibility of only those sub layers whose group layer is turned on.

Any help would be appreciated.

Thanks

Deepika

0 Kudos
0 Replies