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.
{DOMElement}
To build a toolbar, you add a set of controls to it.

Properties

controls

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()

draw

draw: function()

Returns

{DOMElement}

redraw

redraw: 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}

onClick

onClick: function (ctrl,
evt)
destroy: function()
activate: function()
deactivate: function()
draw: function()
{DOMElement}
redraw: function()
activateControl: function (control)
addControls: function(controls)
To build a toolbar, you add a set of controls to it.
onClick: function (ctrl,
evt)