The unique ID assigned to the layer.
Indicates how the layer should display in the LayerList widget.
The Error object returned if an error occurred while loading.
Represents the status of a load operation.
A list of warnings which occurred while loading.
Indicates whether the layer's resources have loaded.
The opacity of the layer.
The title of the layer used to identify it in places such as the LayerList widget.
The layer type provides a convenient way to check the type of the layer without the need to import specific layer modules.
Indicates if the layer is visible in the View.
Cancels a load() operation if it is already in progress.
Called by the views, such as MapView and SceneView, when the layer is added to the Map.layers collection and a layer view must be created for it.
Destroys the layer and any associated resources (including its portalItem, if it is a property on the layer).
Emits an event on the instance.
Fetches custom attribution data for the layer when it becomes available.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Loads the resources referenced by this class.
Registers an event handler on the instance.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
The full extent of the layer.
Read more...