@requires OpenLayers/Control/PanZoomBar.js
oscar. | @requires OpenLayers/Control/PanZoomBar.js |
Properties | |
slider | |
sliderEvents | {<OpenLayers.Events>} |
zoomBarDiv | {DOMElement} |
divEvents | {<OpenLayers.Events>} |
zoomWorldIcon | {Boolean} |
Functions | |
_addZoomBar | |
passEventToSlider | This function is used to pass events that happen on the div, or the map, through to the slider, which then does its moving thing. |
divClick | Picks up on clicks directly on the zoombar div and sets the zoom level appropriately. |
zoomBarDown | event listener for clicks on the slider |
zoomBarDrag | This is what happens when a click has occurred, and the client is dragging. |
zoomBarUp | Perform cleanup when a mouseup event is received -- discover new zoom level and switch to it. |
_addButton | |
doubleClick | |
buttonDown |
_addZoomBar:function( centered )
This function is used to pass events that happen on the div, or the map, through to the slider, which then does its moving thing.
passEventToSlider:function( evt )
Picks up on clicks directly on the zoombar div and sets the zoom level appropriately.
divClick: function ( evt )
event listener for clicks on the slider
zoomBarDown:function( evt )
This is what happens when a click has occurred, and the client is dragging.
zoomBarDrag:function( evt )
Perform cleanup when a mouseup event is received -- discover new zoom level and switch to it.
zoomBarUp:function( evt )
_addButton:function( id, img, xy, sz )
doubleClick: function ( evt )
buttonDown: function ( evt )