▾
import TooltipVisibleElements from "@arcgis/core/views/interactive/options/TooltipVisibleElements.js";const TooltipVisibleElements = await $arcgis.import("@arcgis/core/views/interactive/options/TooltipVisibleElements.js");- Inheritance
- TooltipVisibleElements→
Accessor
- Subclasses
- SketchTooltipVisibleElements
- Since
- ArcGIS Maps SDK for JavaScript 5.2
The elements that are displayed within the tooltip while sketching, editing or placing analyses.
Constructors
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| properties | | |
Properties
| Property | Type | Class |
|---|---|---|
| | ||
| | ||
| readonly inherited | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| | ||
| |
area
- Type
- boolean
When set to false, the area is not shown in the tooltip.
- Default value
- true
coordinates
- Type
- boolean
When set to false, the coordinate is not shown in the tooltip.
- Default value
- true
direction
- Type
- boolean
When set to false, the direction (or deflection angle) is not shown in the tooltip.
- Default value
- true
distance
- Type
- boolean
When set to false, the distance is not shown in the tooltip.
- Default value
- true
elevation
- Type
- boolean
When set to false, the elevation is not shown in the tooltip.
- Default value
- true
elevationMode
- Type
- boolean
When set to false, the elevation mode icon and input control are not shown in the tooltip.
Setting elevationMode to true on the Editor and Sketch components has no effect.
- Default value
- true
header
- Type
- boolean
When set to false, the header at the top of the tooltip is not shown, when in input mode.
- Default value
- true
helpMessage
- Type
- boolean
When set to false, the help message at the bottom of the tooltip is not shown.
- Default value
- false
orientation
- Type
- boolean
When set to false, the orientation is not shown in the tooltip.
- Default value
- true
radius
- Type
- boolean
When set to false, the radius is not shown in the tooltip.
- Default value
- true
rotation
- Type
- boolean
When set to false, the rotation is not shown in the tooltip.
- Default value
- true
scale
- Type
- boolean
When set to false, the scale is not shown in the tooltip.
- Default value
- true
size
- Type
- boolean
When set to false, the size is not shown in the tooltip.
- Default value
- true
totalLength
- Type
- boolean
When set to false, the total length is not shown in the tooltip.
- Default value
- true