Title explains it well.
I am using “Bing Maps AJAX Control, Version 7.0”. I successfully disabled the mouse wheel from zooming in and out of the map. However, if I am hovering over a marker(pin) on the map, It still is zooming in and out.
Below is the code that I used to disabled the mouse wheel:
Microsoft.Maps.Events.addHandler(map, 'mousewheel', function(e) {
if(e.targetType == 'map') {
e.handled = true;
}
});
The following code worked fine for me: