[OpenLayers-Users] Disable Zoom wheel

Admin TrouveTonGull.info contact at trouvetongull.info
Mon Jul 6 13:27:59 EDT 2009


Hello,

i try


    var movemap = new OpenLayers.Control.Navigation({'zoomWheelEnabled': 
false});
    movemap.disableZoomWheel();

    controls = map.getControlsByClass('OpenLayers.Control.Navigation');
    for(var I = 0; i<controls.length; ++i)
    controls.disableZoomWheel();


but don't work :(

what is the correct way to disable zoom wheel?



More information about the Users mailing list