Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to how image filters work.
The full extent of the layer.
The unique ID assigned to the layer.
A collection of operational layers.
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 maximum scale (most zoomed in) at which the layer is visible in the view.
The minimum scale (most zoomed out) at which the layer is visible in the view.
The opacity of the layer.
The portal item from which the layer is loaded.
The title of the layer used to identify it in places such as the LayerList widget.
Indicates how to manage the visibility of the children layers.
Indicates if the layer is visible in the View.
Adds a layer to the layers collection.
Adds a layer or an array of layers to the layers collection.
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.
Returns a layer based on the given layer ID.
Returns a table based on the given table ID.
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.
Loads all the externally loadable resources associated with the group layer.
Removes all layers.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
Blend modes are used to blend layers together to create an interesting effect in a layer, or even to produce what seems like a new layer.
Read more...