Describes the layer's supported capabilities.
Copyright information for the layer.
The SQL where clause used to filter features on the client.
The name of the layer's primary display field.
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to how image filters work.
Specifies how graphics are placed on the vertical axis (z).
Configures the method for reducing the number of point features in the view.
An array of fields in the layer.
A convenient property that can be used to make case-insensitive lookups for a field by name.
The full extent of the layer.
The geometry type of features in the layer.
Indicates whether the client-side features in the layer have Z
(elevation) values.
The unique ID assigned to the layer.
The label definition for this layer, specified as an array of LabelClass.
Indicates whether to display labels for this layer.
Indicates whether the layer will be included in the legend.
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 name of an oid
field containing a unique value or identifier for each feature in the layer.
The opacity of the layer.
An array of field names from the geoJSON file to include with each feature.
Indicates whether to display popups when features in the layer are clicked.
The popup template for the layer.
The renderer assigned to the layer.
Apply perspective scaling to screen-size point symbols in a SceneView.
The spatial reference of the layer.
An array of feature templates defined in the layer.
The layer's time extent.
TimeInfo provides information such as date fields that store start and end time for each feature and the fullTimeExtent for the layer.
A temporary offset of the time data based on a certain TimeInterval.
The title of the layer used to identify it in places such as the LayerList widget.
The URL of the GeoJSON file.
Determines if the layer will update its temporal data based on the view's timeExtent.
Indicates if the layer is visible in the View.
Applies edits to features in a layer.
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.
Creates a popup template for the layer, populated with all the fields of the layer.
Creates query parameter object that can be used to fetch features that satisfy the layer's configurations such as definitionExpression.
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 the Domain associated with the given field name.
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.
Executes a Query against the layer and returns the number of features that satisfy the query.
Executes a Query against the layer and returns a FeatureSet, which can be accessed using the .then()
method once the promise resolves.
Executes a Query against the layer and returns an array of Object IDs for features that satisfy the input query.
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...