Returns whether or not the layer represented by this layerInfo object is currently visible on the map.
Sets the visibility for this layer.
Specifies if the layer is visible or not
An optional parameter which if true, will set the visible layers internally but will not refresh the map automatically. Only applicable for mapServices that support layer visibility. Defaults to false.
An optional parameter which if true, will refresh the map after a specified timeout in ms. Only applicable for mapServices that support layer visibility. 'applyDeferredRefresh' will ensure that only once refresh request is sent for all setVisibility requests within the given threshold. Defaults to false.
The timeout in ms after which to refresh the map if applyDeferredRefresh is true. Defaults to 150ms.
Gets a value representing whether or not all of this layer's ancestors are currently visible in the map.