new BackForwardView()
modules/controls/backForward/view.js, line 30
Fires:
- Map#event:RadioTriggerMapRegisterListenerMovenend
- MapView#event:RadioRequestMapViewGetOptions
- MapView#event:RadioRequestMapViewGetCenter
- MapView#event:RadioTriggerMapViewSetScale
- MapView#event:RadioTriggerMapViewSetCenter
Listens to Events:
- Controls.BackForward#event:changeStepForwardText
- Controls.BackForward#event:changeStepBackwardText
Extends
Methods
-
modifyTemplate(tpl){Backbone.Template}
modules/controls/backForward/view.js, line 73 -
modifies the template with the configured backforward glyphicons
Name Type Description tpl
Backbone.Template BackForwardTemplate Returns:
template
-
render(){Backbone.View}
modules/controls/backForward/view.js, line 58 -
render the control backforward
-
setNextLastView(direction){void}
modules/controls/backForward/view.js, line 163 -
Setter for next and last view
Name Type Description direction
String indicates if backward or forward button was clicked Fires:
- MapView#event:RadioTriggerMapViewSetScale
- MapView#event:RadioTriggerMapViewSetCenter
-
updatePermalink(){void}
modules/controls/backForward/view.js, line 115 -
Updates the permanent link in the map when backward or forward button is clicked.
Fires:
- MapView#event:RadioRequestMapViewGetOptions
- MapView#event:RadioRequestMapViewGetCenter
-
updatePointerEvents(){Void}
modules/controls/backForward/view.js, line 206 -
correction for the pointer-events when language changes - this is a similar technic as in this.setNextLastView but for both buttons and without any action attached