Stop mouse wheel zooming
I don't want the users to do this in my application. I know that there is no option for this yet.
In Firefox I succeeded by doing the following:
$('mapHolder').observe('DOMMouseScroll', function(e){Event.stop(e);}, true);
- mapHolder is the div that holds the map
- I am using the Prototype Event model and also using event capturing by setting the last parameter to true
The problem is IE where there is no event capturing and stopping the event on the mapHolder does not work.
$('mapHolder').observe('mousewheel', function(e){Event.stop(e);}, true);
The event bubbles up and executes before my code.
I also tried to find out which is the element that is assigned the event so i can rewrite the observer.
All I got is that it is an img, but i cannot find it in the code.
So maybe someone on the development team could shed some light on this.

