ControlManager interface
A manager for the map control's controls. Exposed through the controls property of the atlas.Map class. Cannot be instantiated by the user.
Methods
add(Control | Control[], Control |
Add a control(s) to the map. |
get |
Gets an array of all controls on the map |
remove(Control | Control[]) | Remove a control(s) from the map. |
Method Details
add(Control | Control[], ControlOptions)
Add a control(s) to the map.
function add(control: Control | Control[], options?: ControlOptions)
Parameters
- options
- ControlOptions
The options for the added control.