new Panzoombar(format)
Parameters:
Name | Type | Description |
---|---|---|
format |
String | format response |
- Source:
Extends
Members
-
<static, constant> NAME :string
-
Template for this controls - button
Type:
- string
- Source:
-
<static, constant> TEMPLATE :string
-
Template for this controls - button
Type:
- string
- Source:
-
activated :boolean
-
Type:
- boolean
- Inherited From:
- Source:
-
name :string
-
Type:
- string
- Inherited From:
- Source:
Methods
-
activate()
-
function adds the event 'click'
- Inherited From:
- Source:
-
addTo(map)
-
This function adds the control to the specified map
Parameters:
Name Type Description map
M.Map to add the plugin
- Inherited From:
- Source:
-
createView(map)
-
This function creates the view to the specified map
Parameters:
Name Type Description map
M.Map map to add the control
- Overrides:
- Source:
Returns:
html response
- Type
- Promise
-
deactivate()
-
function remove the event 'click'
- Inherited From:
- Source:
-
destroy()
-
Destroys the control
- Inherited From:
- Source:
-
equals()
-
This function checks if an object is equals
to this 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
- Inherited From:
- Source:
-
getElement()
-
function remove the event 'click'
- Inherited From:
- Source:
-
getImpl()
-
This function provides the implementation
of the object- Inherited From:
- Source:
Returns:
- Type
- Object
-
getPanel()
-
Gets the panel of the control
- Inherited From:
- Source:
Returns:
- Type
- M.ui.Panel
-
manageActivation(html)
-
TODO
Parameters:
Name Type Description html
HTMLElement to add the plugin
- Inherited From:
- 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
- Inherited From:
- Source:
-
setPanel(panel)
-
Sets the panel of the control
Parameters:
Name Type Description panel
M.ui.Panel - Inherited From:
- Source:
-
un()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source: