Extends
Members
-
activated :boolean
-
Type:
- boolean
- Source:
-
name :string
-
Type:
- string
- Source:
Methods
-
activate()
-
function adds the event 'click'
- Source:
-
addTo(map)
-
This function adds the control to the specified map
Parameters:
Name Type Description map
M.Map to add the plugin
- Source:
-
createView(map)
-
This function creates the HTML view for this control
Parameters:
Name Type Description map
M.Map to add the plugin
- Source:
-
deactivate()
-
function remove the event 'click'
- Source:
-
destroy()
-
Destroys the control
- Source:
-
fire()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
getActivationButton(html)
-
TODO
Parameters:
Name Type Description html
HTMLElement to add the plugin
- Source:
-
getElement()
-
function remove the event 'click'
- Source:
-
getImpl()
-
This function provides the implementation
of the object- Inherited From:
- Source:
Returns:
- Type
- Object
-
getPanel()
-
Gets the panel of the control
- Source:
Returns:
- Type
- M.ui.Panel
-
manageActivation(html)
-
TODO
Parameters:
Name Type Description html
HTMLElement to add the plugin
- Source:
-
on()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
once()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
setImpl(impl)
-
This function set implementation of this control
Parameters:
Name Type Description impl
M.Map to add the plugin
- Overrides:
- Source:
-
setPanel(panel)
-
Sets the panel of the control
Parameters:
Name Type Description panel
M.ui.Panel - Source:
-
un()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source: