Constructor
new ToolSwitcher()
Members
activeTool :string|null
Type:
- string | null
closeButton :HTMLElement|null
Type:
- HTMLElement | null
toolsSwitcherContent :HTMLElement|null
Type:
- HTMLElement | null
toolsSwitcherSlider :HTMLElement|null
Type:
- HTMLElement | null
Methods
closeMenu()
Closes the menu
init(mapTargetElement)
Initialize the tool switcher
Parameters:
Name | Type | Description |
---|---|---|
mapTargetElement |
HTMLElement | The html element for the map |
updateControlsVisibility(options)
Updates the controls visibility
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | The options
Properties
|