{OpenLayers.Map} this gets set in the addControl() function in OpenLayers.Map
div
{DOMElement}
type
{OpenLayers.Control.TYPES} Controls can have a ‘type’. The type determines the type of interactions which are possible with them when they are placed into a toolbar.
displayClass
{string} This property is used for CSS related to the drawing of the Control.
active
{boolean} null
handler
{<OpenLayers.Handler}> null
Functions
OpenLayers.Control
Create an OpenLayers Control.
Parameters
options
{Object}
destroy
destroy: function ()
setMap
setMap: function(
map
)
Set the map property for the control. This is done through an accessor so that subclasses can override this and take special action once they have their map variable set.
Parameters
map
{OpenLayers.Map}
draw
draw: function (
px
)
Parameters
px
{OpenLayers.Pixel}
Return
{DOMElement} A reference to the DIV DOMElement containing the control