import SketchTooltipVisibleElements from "@arcgis/core/views/interactive/sketch/SketchTooltipVisibleElements.js";
Inheritance
SketchTooltipVisibleElements→TooltipVisibleElements→Accessor
Since
ArcGIS Maps SDK for JavaScript 5.0

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

Constructors

Constructor

Constructor
Since
ArcGIS Maps SDK for JavaScript 5.2

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

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

coordinates

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

distance

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

elevation

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

elevationMode

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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
inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

When set to false, the header at the top of the tooltip is not shown, when in input mode.

Default value
true

helpMessage

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
false

orientation

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

radius

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

rotation

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

scale

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

size

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true

totalLength

inherited Property
Type
boolean
Inherited from: TooltipVisibleElements
Since
ArcGIS Maps SDK for JavaScript 5.2

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

Default value
true