OpenLayers. Control. Panel

Inherits from

Summary
OpenLayers.Control The control which is activated when the control is activated (turned on), which also happens at instantiation.
To build a toolbar, you add a set of controls to it.

Properties

defaultControl

OpenLayers.Control The control which is activated when the control is activated (turned on), which also happens at instantiation.

Constructor

OpenLayers. Control

Parameters

options{Object} An optional object whose properties will be used to extend the control.

Functions

destroy

destroy: function()

activate

activate: function()

deactivate

deactivate: function()

activateControl

activateControl: function (control)

Parameters

control{OpenLayers.Control}

addControls

addControls: function(controls)

To build a toolbar, you add a set of controls to it. addControls lets you add a single control or a list of controls to the Control Panel.

Parameters

controls{OpenLayers.Control}
destroy: function()
activate: function()
deactivate: function()
activateControl: function (control)
addControls: function(controls)
To build a toolbar, you add a set of controls to it.