Class Index | File Index

Classes


Class eniro.maps.widget.Control


Defined in: Control.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
div
The DOM element for this control widget.
 
map
Associated map instance.
Method Summary
Method Attributes Method Name and Description
 
Destroys this control instance releasing all references.
 
Constructor setting up div.
 
Called after div creation and map has been set.
 
setMap(map)
Sets the map associated with this control.
Class Detail
eniro.maps.widget.Control()
Requires:
eniro/maps/event.js
Field Detail
div
The DOM element for this control widget. Set to false to avoid div creation.

map
Associated map instance.
Method Detail
destroy()
Destroys this control instance releasing all references.

initialize()
Constructor setting up div.

postinitialize()
Called after div creation and map has been set. Override to make additional init on map set.

setMap(map)
Sets the map associated with this control. Will be set when added to the map. Will receive null argument when disassociated with map. Do not override this function to do init. Use #postinitialize() instead.
Parameters:
{eniro.maps.Map} map
the map to set.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Mar 30 2020 12:10:04 GMT+0200 (CEST)