Optional properties: FeatureLayerPropertiesAn authorization string used to access a resource or service.
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.
normal
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#blendMode)
Readonly capabilitiesDescribes the layer's supported capabilities.
Copyright information for the layer.
A list of custom parameters appended to the URL of all resources fetched by the layer.
Readonly datesThis property is set by the service publisher and indicates that dates should be considered without the local timezone.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#datesInUnknownTimezone)
The SQL where clause used to filter features on the client.
The name of the layer's primary display field.
An object that allows you to create a dynamic layer with data either from map service sublayers or data from a registered workspace.
Readonly editThe editor tracking fields, which record who adds or edits the data through the feature service and when edits are made.
Determines if the layer is editable.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#editingEnabled)
Readonly editingThe editor tracking fields, which record who adds or edits the data through the feature service and when edits are made.
Effect provides various filter functions that can be performed on the layer to achieve different visual effects similar to how image filters work.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-BlendLayer.html#effect)
Readonly effectiveDescribes effective capabilities of the layer taking in to consideration privileges of the currently signed-in user.
Readonly effectiveIndicates whether the layer is editable taking in to consideration privileges of the currently signed-in user.
Specifies how features are placed on the vertical axis (z).
The featureEffect can be used to draw attention features of interest.
Configures the method for reducing the number of point features in the view.
An array of fields in the layer.
Readonly fieldsA convenient property that can be used to make case-insensitive lookups for a field by name.
When a feature layer is configured as floor-aware, it has a floorInfo property defined.
The template used in an associated layer's FeatureForm.
The full extent of the layer.
The version of the geodatabase of the feature service data.
Readonly geometryProvides information on the system maintained area and length fields along with their respective units.
The geometry type of features in the layer.
Indicates whether the client-side features in the layer have M (measurement) values.
undefined
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#hasM)
Indicates whether the client-side features in the layer have Z (elevation) values.
undefined
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#hasZ)
The historic moment to query.
The unique ID assigned to the layer.
Readonly isReturns true if the layer is loaded from a non-spatial table in a service.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#isTable)
The label definition for this layer, specified as an array of LabelClass.
Indicates whether to display labels for this layer.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#labelsVisible)
The layer ID, or layer index, of a Feature Service layer.
Indicates whether the layer will be included in the legend.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#legendEnabled)
Indicates how the layer should display in the LayerList widget.
"show"
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#listMode)
Readonly loadThe Error object returned if an error occurred while loading.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Loadable.html#loadError)
Readonly loadRepresents the status of a load operation.
not-loaded
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Loadable.html#loadStatus)
Readonly loadA list of warnings which occurred while loading.
Readonly loadedIndicates whether the layer's resources have loaded.
false
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#loaded)
The maximum scale (most zoomed in) at which the layer is visible in the view.
0
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#maxScale)
The minimum scale (most zoomed out) at which the layer is visible in the view.
0
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-ScaleRangeLayer.html#minScale)
The name of an oid field containing a unique value or identifier for each feature in the layer.
The opacity of the layer.
1
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#opacity)
Determines the order in which features are drawn in the view.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-OrderedLayer.html#orderBy)
An array of field names from the service to include with each feature.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#outFields)
Indicates whether to display popups when features in the layer are clicked.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#popupEnabled)
The popup template for the layer.
The portal item from which the layer is loaded.
Readonly publishingChecks layer's publishing status while the layer is being published to the portal.
Refresh interval of the layer in minutes.
0
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#refreshInterval)
Readonly relationshipsArray of relationships set up for the layer.
The renderer assigned to the layer.
When true, indicates that M values will be returned.
undefined
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#returnM)
When true, indicates that z-values will always be returned.
undefined
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-FeatureLayerBase.html#returnZ)
Apply perspective scaling to screen-size point symbols in a SceneView.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#screenSizePerspectiveEnabled)
Readonly serviceThe service definition expression limits the features available for display and query.
A collection of Graphic objects used to create a FeatureLayer.
The feature service's metadata JSON exposed by the ArcGIS REST API.
The spatial reference of the layer.
An array of feature templates defined in the feature layer.
The layer's time extent.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeExtent)
TimeInfo provides information such as date fields that store start and end time for each feature and the fullTimeExtent for the layer.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeInfo)
A temporary offset of the time data based on a certain TimeInterval.
null
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#timeOffset)
The title of the layer used to identify it in places such as the LayerList widget.
Readonly typeThe 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 absolute URL of the REST endpoint of the layer, non-spatial table or service.
Determines if the layer will update its temporal data based on the view's timeExtent.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-mixins-TemporalLayer.html#useViewTime)
Readonly versionThe version of ArcGIS Server in which the layer is published.
Indicates if the layer is visible in the View.
true
[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visible)
Protected _getProtected _setAdds an attachment to a feature.
Cancels a load() operation if it is already in progress.
Creates a deep clone of this object.
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.
Optional options: LayerCreateLayerViewOptionsCreates query parameter object that can be used to fetch features that satisfy the layer's configurations such as definitionExpression, gdbVersion, and historicMoment.
Deletes attachments from a feature.
Destroys the layer and any associated resources (including its portalItem, if it is a property on the layer).
Returns a FeatureType describing the feature's type.
Returns the Domain associated with the given field name.
Optional options: FeatureLayerBaseGetFieldDomainOptionsProtected notifyExecutes a Query against the feature service and returns a FeatureSet, which can be accessed using the .then() method once the promise resolves.
Optional query: EsriQuery | QueryPropertiesOptional options: FeatureLayerQueryFeaturesOptionsExecutes a Query against the feature service and returns an array of Object IDs for features that satisfy the input query.
Optional query: EsriQuery | QueryPropertiesOptional options: FeatureLayerQueryObjectIdsOptionsExecutes a RelationshipQuery against the feature service and returns FeatureSets grouped by source layer or table objectIds.
Optional options: FeatureLayerBaseQueryRelatedFeaturesOptionsExecutes a RelationshipQuery against the feature service and when resolved, it returns an object containing key value pairs.
Optional options: FeatureLayerBaseQueryRelatedFeaturesCountOptionsExecutes a TopFeaturesQuery against a feature service and returns the count of features or records that satisfy the query.
Optional options: FeatureLayerQueryTopFeatureCountOptionsExecutes a TopFeaturesQuery against a feature service and returns a FeatureSet once the promise resolves.
Optional options: FeatureLayerQueryTopFeaturesOptionsExecutes a TopFeaturesQuery against a feature service and returns the Extent of features that satisfy the query.
Optional options: FeatureLayerQueryTopFeaturesExtentOptionsExecutes a TopFeaturesQuery against a feature service and returns an array of Object IDs of features that satisfy the query.
Optional options: FeatureLayerQueryTopObjectIdsOptionsSaves the layer to its existing portal item in the Portal authenticated within the user's current session.
Optional options: FeatureLayerSaveOptionsSaves the layer to a new portal item in the Portal authenticated within the user's current session.
Optional options: FeatureLayerSaveAsOptionsUpdates an existing attachment for a feature.
Static fromJSONGenerated using TypeDoc
A FeatureLayer is a single layer that can be created from a Map Service or Feature Service; ArcGIS Online or ArcGIS Enterprise portal items; or from an array of client-side features.
Read more...