Skip to content
import CreateToolVisibilityMap from "@arcgis/core/widgets/Sketch/CreateToolVisibilityMap.js";
Inheritance:
CreateToolVisibilityMapAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

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.

circle

Property
Type
boolean

Indicates whether to display the circle sketch tool. Default is true.

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.

freehandPolygon

Property
Type
boolean

Indicates whether to display the freehandPolygon tool. Default is false.

Default value
false

freehandPolyline

Property
Type
boolean

Indicates whether to display the freehandPolyline tool. Default is false.

Default value
false

multipoint

Property
Type
boolean

Indicates whether to display the multipoint tool. Regardless of setting, multipoint is not available when working with a SceneView. Default is false.

Default value
true

point

Property
Type
boolean

Indicates whether to display the point sketch tool. Default is true.

Default value
true

polygon

Property
Type
boolean

Indicates whether to display the polygon sketch tool. Default is true.

Default value
true

polyline

Property
Type
boolean

Indicates whether to display the polyline sketch tool. Default is true.

Default value
true

rectangle

Property
Type
boolean

Indicates whether to display the rectangle sketch tool. Default is true.

Default value
true

text

Property
Type
boolean

Indicates whether to display the text sketch tool. Default is false.

Default value
false