OpenLayers JavaScript Mapping Library |
OpenLayers. Control. PanelInherits fromSummary
controlsArray({OpenLayers.Control}) defaultControlOpenLayers.Control The control which is activated when the control is activated (turned on), which also happens at instantiation. addControls
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
|
destroy: function()
activate: function()
deactivate: function()
{DOMElement}
draw: function()
redraw: function()
activateControl: function ( control )
To build a toolbar, you add a set of controls to it.
addControls: function( controls )
onClick: function ( ctrl, evt )