Class: Controls

nsVmap.nsTools.Controls

Class nsVmap.nsTools.Controls: Add the controls defined in data/tools-tree.json

Methods

addControl(control){boolean}

tools/controls.js, line 47

Add a control to the ol map

Name Type Description
control string

Control to add

Returns:
False if the control cannot be added

getControlsTree(){array} experimental

tools/controls.js, line 140

nsVmap.aControlsTree_ getter

Returns:
Controls on the map

setControlsTree(aControls) experimental

tools/controls.js, line 149

nsVmap.aControlsTree_ setter

Name Type Description
aControls array

Controls to set