How do I get the layer visibility of sub layer

985
0
05-01-2017 08:13 PM
DeepikaJain1
New 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