[OpenLayers-Dev] zoomwheel-only navigation

bartvde at osgis.nl bartvde at osgis.nl
Tue Dec 16 07:25:52 EST 2008


Hi list,

currently it is not possible to disable the zoombox and pan on
OpenLayers.Control.Navigation.

But what if I only want to have the zoomwheel? Do I write my own control,
or would it be an option to change the Navigation control to have
properties like:

-zoomBoxEnabled
-dragPanEnabled

with default values of true?

Best regards,
Bart




More information about the Dev mailing list