import CreateToolVisibilityMap from "@arcgis/core/widgets/Sketch/CreateToolVisibilityMap.js";const CreateToolVisibilityMap = await $arcgis.import("@arcgis/core/widgets/Sketch/CreateToolVisibilityMap.js");- Inheritance:
- CreateToolVisibilityMap→
Accessor
- Since
- ArcGIS Maps SDK for JavaScript 5.0
Constructors
Constructor
Constructor
Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| 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
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
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