ToggleTools

toggle-tools. ToggleTools

Class representing a toggle-tools control

Constructor

new ToggleTools(options, store)

Create a user toggle-tools control

Parameters:
Name Type Description
options
store

Methods

addTool(toolObject, toolName)

Add tool to toggle-tool control

Parameters:
Name Type Description
toolObject object

Tool object

toolName string

Tool name

deactivateAllTools()

Deactivate all tools