import ElevationProfileLine from "@arcgis/core/analysis/ElevationProfile/ElevationProfileLine.js";const ElevationProfileLine = await $arcgis.import("@arcgis/core/analysis/ElevationProfile/ElevationProfileLine.js");- Inheritance:
- ElevationProfileLine→
Accessor
- Subclasses:
- ElevationProfileLineGround, ElevationProfileLineInput, ElevationProfileLineQuery, ElevationProfileLineScene
- Since
- ArcGIS Maps SDK for JavaScript 4.34
Base class for configuring a single line in an elevation profile analysis.
Each profile line represents a different source or method for sampling elevation along the input path. Subclasses define the specific behavior for ground, input geometry, custom elevation sources, or scene content.
Properties
| Property | Type | Class |
|---|---|---|
| | ||
| | ||
declaredClass readonly inherited | ||
| | ||
| | ||
| | ||
type readonly | | |
| |
chartOptions
Options for visualizing the profile line in a chart.
enabled
- Type
- boolean
Indicates whether the line should be computed and displayed in the chart and view.
- Default value
- true
id
- Type
- string
Unique identifier for the profile line. This value is automatically generated unless specified.
viewOptions
Options for visualizing the profile line in the view.
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.