import ElevationProfileGroup from "@arcgis/core/analysis/ElevationProfile/ElevationProfileGroup.js";
Inheritance
ElevationProfileGroupAccessor
Since
ArcGIS Maps SDK for JavaScript 5.1

Represents a logical container that organizes multiple profile lines.

The group itself is not computed directly as a profile line. Instead, each individual line within profiles is computed independently, with the resulting data exposed through the ElevationProfileAnalysisView2D.results and ElevationProfileAnalysisView3D.results properties.

When using the Elevation Profile component, the group serves to consolidate these profile lines under a single entry in the legend for better organization.

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.
PropertyTypeClass
readonly inherited
id
readonly
"group"

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

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

id

Property
Type
string

Unique identifier for the profile group. This value is automatically generated unless specified.

profiles

autocast Property
Type
Collection<ElevationProfileLineUnion>

The collection of profile lines that belong to this group.

Each line defines a source for sampling elevation along the analysis geometry and is computed independently. The group itself is used for organization and does not produce a separate result line.

Each line in the group will be included in both the ElevationProfileAnalysisView2D.results and ElevationProfileAnalysisView3D.results array of the analysis view, but the group will not have a corresponding result entry.

See also

title

Property
Type
string | null | undefined

Title of the group, shown in the chart legend.

type

readonly Property
Type
"group"