openlayers/openlayers — pull request #519 by ahocevar (2012-06-11 17:09:41+00:00)
Title: New zoomOnClick option for ZoomBox control.

When using the ZoomBox control standalone and without a key modifier (i.e. not as part of the Navigation control), it may be useful to have an option so it does nothing on click. By setting this option, the control can better co-exist with other controls that react to clicks (e.g. WMSGetFeatureInfo).

This change also finally adds tests for the ZoomBox control. Tests pass. Thanks for any review.