new Disable( [options])
A simple control to disable all actions on the map. The control will create an invisible div over the map.
Parameters:
Name | Type | Argument | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Methods
-
disableMap(b,)
-
Disable all action on the map
Parameters:
Name Type Description b,
bool default false
-
isOn()
-
Test if the control is on
Returns:
- Type
- bool