layerShownOrHidden

An event that is raised when a layer is shown or hidden by setting the ImageryLayer.show property. Event handlers are passed a reference to this layer, the index of the layer in the collection, and a flag that is true if the layer is now shown or false if it is now hidden.

See also