import Units from "@arcgis/core/views/interactive/sketch/Units.js";const Units = await $arcgis.import("@arcgis/core/views/interactive/sketch/Units.js");- Inheritance:
- Units→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Units used for displaying or interpreting values in the UI.
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
See the properties table for a list of all the
properties that may be passed into the constructor.
Properties
Any properties can be set, retrieved or listened to. See the
Watch for changes
topic.
| Property | Type | Class |
|---|---|---|
| | ||
declaredClass readonly inherited | ||
| | ||
| |
verticalLength
Property
- Type
- SystemOrLengthUnit | null | undefined
beta
Vertical length units.
- Default value
- null