ESM:
import * as quantity from "@arcgis/core/core/quantity.js"; CDN:
const quantity = await $arcgis.import("@arcgis/core/core/quantity.js"); Object:
@arcgis/core/core/quantity Since: ArcGIS Maps SDK for JavaScript 4.23
Quantity type used to represent measurements across the JS API.
Type Definitions
-
- Properties
- value Number
Scalar value representing a length.
unit LengthUnitAny unit which represents length.
type StringUnit type.
The value is always "length".
-
- Properties
- value Number
Scalar value representing a volume.
unit VolumeUnitAny unit which represents volume.
type StringUnit type.
The value is always "volume".