Provide a box zoom where drag to draw a box that will be the new range, and mouse wheel events are zoom in and zoom out. This is typically attached to the left mouse button.
Creates a new instance of BoxZoomMouseModule
Getter for property autoUpdate.
Getter for property constrainProportions.
mouse wheel events zoom or pan rapidly. With a physical wheel, I (jbf) found that I get 17ms per click, and this is managable. With a touchpad on a mac, these events come much faster, like 10ms per click, which can disorient the operator. So we limit the speed to 20ms per click, for now by dropping rapid clicks.
Setter for property autoUpdate.
Setter for property constrainProportions.