Types
import type { FeatureGeometryType, GeometryType, GeometryUnion, GeometryWithoutMeshUnion, CurveType } from "@arcgis/core/geometry/types.js";

Type definitions

FeatureGeometryType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"point" | "multipoint" | "polyline" | "polygon"

GeometryType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"point" | "multipoint" | "polyline" | "polygon" | "extent" | "mesh"

GeometryUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Union of all geometries.

GeometryWithoutMeshUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

Union of all non-mesh geometries.

CurveType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"circular-arc" | "elliptic-arc" | "cubic-bezier"

GeodeticCurveType

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"geodesic" | "loxodrome" | "great-elliptic" | "normal-section" | "shape-preserving"

LatitudeLongitudeFormat

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Type
"dd" | "ddm" | "dms"

CompressedTextureData

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

The definition of compressed texture data.

type

Property
Type
"encoded-mesh-texture"
Since
ArcGIS Maps SDK for JavaScript 5.0

The type.

encoding

Property
Type
"image/ktx2"
Since
ArcGIS Maps SDK for JavaScript 5.0

The texture encoding.

data

Property
Type
Uint8Array<ArrayBuffer>
Since
ArcGIS Maps SDK for JavaScript 5.0

The compressed texture data.

MeshTextureData

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

MeshVertexSpaceUnion

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0