import ElevationProfileDisplayUnits from "@arcgis/core/analysis/ElevationProfile/ElevationProfileDisplayUnits.js";const ElevationProfileDisplayUnits = await $arcgis.import("@arcgis/core/analysis/ElevationProfile/ElevationProfileDisplayUnits.js");- Inheritance:
- ElevationProfileDisplayUnits→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 4.34
Unit systems (imperial, metric) or specific units used for computing and displaying elevation profile results.
If not specified, units are chosen automatically based on the magnitude of the results. The effective units can be accessed through the ElevationProfileAnalysisView2D.results or ElevationProfileAnalysisView3D.results properties.
- See also
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
declaredClass readonly inherited | ||
| | ||
| |
distance
- Type
- SystemOrLengthUnit | null | undefined
Unit system (imperial, metric) or specific unit used for computing and displaying distances along the profile line.
elevation
- Type
- SystemOrLengthUnit | null | undefined
Unit system (imperial, metric) or specific unit used for computing and displaying elevation values.
Methods
| Method | Signature | Class |
|---|---|---|
clone inherited | clone(): this |
clone
- Signature
-
clone (): this
Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.
- Returns
- this
A deep clone of the class instance that invoked this method.