Types
import type { AnalysisUnion, AnalysisType, FeatureReferenceLayer, FeatureReference } from "@arcgis/core/analysis/types.js";

Type definitions

AnalysisUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Union of all possible analysis types that can be added to a View.

AnalysisType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
AnalysisUnion["type"]

FeatureReferenceLayer

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

id

Property
Type
string | number
Since
ArcGIS Maps SDK for JavaScript 5.0

The layer id.

objectIdField

Property
Type
string | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The object id field.

FeatureReference

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

A reference to a feature in a layer. The interface of a feature reference is compatible with a Graphic, but contains only the minimal set of information required to reference a feature.

uid

Property
Type
number | null
Since
ArcGIS Maps SDK for JavaScript 5.0

Unique identifier assigned to the feature on the client.

objectId

Property
Type
ObjectId | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Object identifier of the feature in its source layer.

layer

Property
Type
FeatureReferenceLayer | null | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Reference to a layer.

attributes

Property
Type
any
Since
ArcGIS Maps SDK for JavaScript 5.0

Feature attributes.