The ZoomBox control enables zooming directly to a given extent, by drawing a box on the map. The box is drawn by holding down shift, whilst dragging the mouse.
OpenLayers. | The ZoomBox control enables zooming directly to a given extent, by drawing a box on the map. |
Properties | |
type | {OpenLayers.Control.TYPE} |
out | {Boolean} Should the control be used for zooming out? |
alwaysZoom | {Boolean} Always zoom in/out, when box drawed |
Functions | |
draw | |
zoomBox |
draw: function()
zoomBox: function ( position )