An array of fields in the Sublayer.
A convenient property that can be used to make case-insensitive lookups for a field by name.
The full extent of the Sublayer.
The sublayer's layer ID.
The label definition for this layer, specified as an array of LabelClass objects.
Indicates if labels for the sublayer will be visible in the view.
The MapImageLayer or TileLayer to which the sublayer belongs.
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.
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 Sublayer.
The level of opacity to set on the sublayer on a scale from 0.0 - 1.0 where 0
is fully transparent and 1.0
is fully opaque.
Indicates whether to display popups when features in the layer are clicked.
The popup template for the sublayer.
The renderer to apply to the sublayer.
An object that allows you to create a dynamic layer with data either from the map service sublayers or data from a registered workspace.
The map service's metadata JSON exposed by the ArcGIS REST API.
If a sublayer contains sublayers, this property is a Collection of Sublayer objects belonging to the given sublayer with sublayers.
The name of the field holding the type ID or subtypes for the features.
An array of subtypes defined in the feature service exposed by ArcGIS REST API.
The URL to the REST endpoint of the sublayer.
Indicates if the layer is visible in the view.
Cancels a load() operation if it is already in progress.
Creates a deep clone of the sublayer.
A convenient method for creating a FeatureLayer instance based on the Sublayer's configuration, including dynamic sources.
Creates a popup template for the sublayer, populated with all the fields of the sublayer.
Creates a Query object with default values representing the layer's state, including filters (definition expression) on the layer's features.
Returns a FeatureType describing the feature's type.
Returns the Domain associated with the given field 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 features in the sublayer.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
A SQL where clause used to filter features in the image.
Read more...