Skip to content
import SketchTooltipVisibleElements from "@arcgis/core/views/interactive/sketch/SketchTooltipVisibleElements.js";
Inheritance:
SketchTooltipVisibleElementsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

The elements that are displayed within the tooltip while sketching and editing.

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.

area

Property
Type
boolean

When set to false, the area is not shown in the tooltip.

Default value
true

coordinates

Property
Type
boolean

When set to false, the coordinate is not shown in the tooltip.

Default value
true

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.

direction

Property
Type
boolean

When set to false, the direction (or deflection angle) is not shown in the tooltip.

Default value
true

distance

Property
Type
boolean

When set to false, the distance is not shown in the tooltip.

Default value
true

elevation

Property
Type
boolean

When set to false, the elevation is not shown in the tooltip.

Default value
true
Property
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

Property
Type
boolean

When set to false, the help message at the bottom of the tooltip is not shown.

Default value
false

orientation

Property
Type
boolean

When set to false, the orientation is not shown in the tooltip.

Default value
true

radius

Property
Type
boolean

When set to false, the radius is not shown in the tooltip.

Default value
true

rotation

Property
Type
boolean

When set to false, the rotation is not shown in the tooltip.

Default value
true

scale

Property
Type
boolean

When set to false, the scale is not shown in the tooltip.

Default value
true

size

Property
Type
boolean

When set to false, the size is not shown in the tooltip.

Default value
true

totalLength

Property
Type
boolean

When set to false, the total length is not shown in the tooltip.

Default value
true