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