Handler for dragging a rectangle across the map. Box is displayed on mouse down, moves on mouse move, and is finished on mouse up.
OpenLayers. | Handler for dragging a rectangle across the map. |
Properties | |
dragHandler | {OpenLayers.Handler.Drag} |
boxDivClassName | {String} The CSS class to use for drawing the box. |
boxCharacteristics | {Object} Caches some box characteristics from css. |
Constructor | |
OpenLayers. | |
Functions | |
setMap | |
startBox | |
moveBox | |
endBox | |
removeBox | Remove the zoombox from the screen and nullify our reference to it. |
activate | |
deactivate | |
getCharacteristics | Determines offset and box model for a box. |
control | {OpenLayers.Control} |
callbacks | {Object} An object containing a single function to be called when the drag operation is finished. The callback should expect to recieve a single argument, the point geometry. |
options | {Object} |
setMap: function ( map )
startBox: function ( xy )
moveBox: function ( xy )
endBox: function( end )
Remove the zoombox from the screen and nullify our reference to it.
removeBox: function()
activate: function ()
deactivate: function ()