Types
import type { LinearUnit, AreaUnit, ExtendedSpatialReferenceInfo, NearestPointResult } from "@arcgis/core/geometry/geometryEngineTypes.js";Type definitions
LinearUnit
deprecated Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Units for linear measurements. Use one of the string values below or a numerical value from here or here.
- Type
- "feet" | "kilometers" | "meters" | "miles" | "nautical-miles" | "yards"
AreaUnit
deprecated Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Units for area measurements. Use one of the string values below or a numerical value from here or here.
- Type
- "acres" | "ares" | "hectares" | "square-feet" | "square-kilometers" | "square-meters" | "square-miles" | "square-yards"
ExtendedSpatialReferenceInfo
deprecated Type definition
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The return object of the extendedSpatialReferenceInfo() method.
- See also
tolerance
Property
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The XY tolerance of the spatial reference.
unitSquareDerivative
Property
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Square derivative.
NearestPointResult
deprecated Type definition
- Type parameters
- <Point>
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Object returned from the nearestCoordinate(), nearestVertex(), and nearestVertices() methods.
distance
Property
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The distance from the inputPoint in the units of the view's spatial reference.
vertexIndex
Property
- Type
- number
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The index of the vertex within the geometry's rings or paths.
isEmpty
Property
- Type
- boolean
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Indicates if it is an empty geometry.