import ElevationProfileVisibleElements from "@arcgis/core/widgets/ElevationProfile/ElevationProfileVisibleElements.js";const ElevationProfileVisibleElements = await $arcgis.import("@arcgis/core/widgets/ElevationProfile/ElevationProfileVisibleElements.js");- Inheritance:
- ElevationProfileVisibleElements→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
The visible elements that are displayed within the widget. This provides the ability to turn individual elements of the widget's display on/off. The visual elements in this widget are the legend, chart, settingsButton, sketchButton, and selectButton. These are all set to true by default.
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
| | ||
| | ||
declaredClass readonly inherited | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| |
clearButton
- Type
- boolean
When set to false the button used to clear the current elevation profile is not displayed.
- Default value
- true
legend
- Type
- boolean
When set to false, the legend (which includes statistics) is not displayed.
- Default value
- true
selectButton
- Type
- boolean
When set to false, the button used to select a path is not displayed.
- Default value
- true
settingsButton
- Type
- boolean
When set to false, the button used to open the settings popup is not displayed.
- Default value
- true
sketchButton
- Type
- boolean
When set to false, the button used to start drawing/sketching is not displayed.
- Default value
- true
uniformChartScalingToggle
- Type
- boolean
When set to false, the element used to toggle uniform chart scaling on or off is not displayed.
- Default value
- true
unitSelector
- Type
- boolean
When set to false, the dropdown used to select the units is not displayed.
- Default value
- true