OpenLayers OpenLayers

Ticket #1339: Navigation.js.patch

File Navigation.js.patch, 0.7 kB (added by sbenthall, 1 year ago)

patch for Control.Navigation

  • lib/OpenLayers/Control/Navigation.js

    old new  
    167167    wheelDown: function(evt) { 
    168168        this.wheelChange(evt, -1); 
    169169    }, 
     170     
     171    /** 
     172     * Method: disableZoomWheel 
     173     */ 
     174     
     175    disableZoomWheel : function() { 
     176        this.handlers.wheel.deactivate();        
     177    }, 
     178     
     179    /** 
     180     * Method: enableZoomWheel 
     181     */ 
     182     
     183    enableZoomWheel : function() { 
     184        this.handlers.wheel.activate(); 
     185    }, 
    170186 
    171187    CLASS_NAME: "OpenLayers.Control.Navigation" 
    172188});