OpenLayers. Handler.Box

Handler for dragging a rectangle across the map.  Box is displayed on mouse down, moves on mouse move, and is finished on mouse up.

Inherits from

Summary
OpenLayers. Handler.BoxHandler for dragging a rectangle across the map.
Properties
boxDivClassName{String} The CSS class to use for drawing the box.
Constructor
OpenLayers. Handler.Box

Properties

boxDivClassName

{String} The CSS class to use for drawing the box.  Default is olHandlerBoxZoomBox

Constructor

OpenLayers. Handler.Box

Parameters

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}
Base class to construct a higher-level handler for event sequences.
Controls affect the display or behavior of the map.
Close