▾
import Units from "@arcgis/core/views/interactive/support/Units.js";const Units = await $arcgis.import("@arcgis/core/views/interactive/support/Units.js");- Inheritance
- Units→
Accessor
- Subclasses
- Units
- Since
- ArcGIS Maps SDK for JavaScript 5.2
Units used for displaying or interpreting values in the UI while sketching, editing, or placing analyses.
Each quantity accepts a specific unit or measurement system ("metric" or "imperial").
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 |
|---|---|---|
| | ||
| readonly inherited | ||
| | ||
| | ||
| |