Class eniro.maps.widget.Control
Defined in: Control.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
The DOM element for this control widget.
|
|
Associated map instance.
|
Method Attributes | Method Name and Description |
---|---|
destroy()
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.
|
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.