AnsweredAssumed Answered

How do I get the layer visibility of sub layer

Question asked by DeepikaJain on May 1, 2017

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[i].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

Outcomes