[OpenLayers-Users] Change mouseWheel behavior only in down event

francescoboccacci at libero.it francescoboccacci at libero.it
Fri May 4 08:39:44 EDT 2012


Hi all,
i have a  question about mouseWheel event.
I would like to change the behavior of mouse wheel event. I would like to 
disable mousewheel "down" event if the map.zoom = 10 and active it if it is 
great than 10.
How is possible to do that? 
I find just this example but it disable mouseWheel behavior in general:

map.controls[1].disableZoomWheel()

Thanks

Francesco


More information about the Users mailing list