[OpenLayers-Users] {'zoomWheelEnabled':false}
Didrik Pinte
lists at dipole-consulting.com
Thu Dec 18 10:43:56 EST 2008
Hi,
I'm trying to disable the mouse wheel interaction.
I've followed the navigation control example but it does not work.
I initialise my map without controls, then I add ScaleLine, PanZoomBar,
NavToolBar, LayerSwitcher, MousePosition and KeyboardDefaults
Finally, I add my Navigation and explicitely call disableZoomWheel() on
it BUT the zoom wheel stays activated on the loaded map.
Is there any interaction between the Navigation and the other controls
that could force the zoom wheel to stay activated ?
Thanks
Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081218/332113de/attachment.bin
More information about the Users
mailing list