ImageryLayerCollection
An ordered collection of imagery layers.
See also
Properties
An event that is raised when a layer is added to the collection. Event handlers are passed the layer that was added and the index at which it was added.
An event that is raised when a layer changes position in the collection. Event handlers are passed the layer that was moved, its new index after the move, and its old index prior to the move.
An event that is raised when a layer is removed from the collection. Event handlers are passed the layer that was removed and the index from which it was removed.
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.
Functions
Adds a layer to the collection.
Creates a new layer using the given ImageryProvider and adds it to the collection.
Checks to see if the collection contains a given layer.
Gets a layer by index from the collection.
Determines the index of a given layer in the collection.
Returns true if this object was destroyed; otherwise, false.
Lowers a layer down one position in the collection.
Lowers a layer to the bottom of the collection.
Asynchronously determines the imagery layer features that are intersected by a pick ray. The intersected imagery layer features are found by invoking ImageryProvider.pickFeatures for each imagery layer tile intersected by the pick ray. To compute a pick ray from a location on the screen, use Camera.getPickRay.
Determines the imagery layers that are intersected by a pick ray. To compute a pick ray from a location on the screen, use Camera.getPickRay.
Raises a layer up one position in the collection.
Raises a layer to the top of the collection.
Removes a layer from this collection, if present.