Skip to content
import ElevationProfileDisplayUnits from "@arcgis/core/analysis/ElevationProfile/ElevationProfileDisplayUnits.js";
Inheritance:
ElevationProfileDisplayUnitsAccessor
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

Constructor
Parameters
ParameterTypeDescriptionRequired
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.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor

The name of the class. The declared class name is formatted as esri.folder.className.

distance

Property
Type
SystemOrLengthUnit | null | undefined

Unit system (imperial, metric) or specific unit used for computing and displaying distances along the profile line.

elevation

Property
Type
SystemOrLengthUnit | null | undefined

Unit system (imperial, metric) or specific unit used for computing and displaying elevation values.

Methods

MethodSignatureClass
clone
inherited
clone(): this

clone

inherited Method
Signature
clone (): this
Inherited from: ClonableMixin

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.