Nasrul Hazim Bin Mohamad

OpenLayers – Disable Mouse Wheel

Feb
24
var controls = map.getControlsByClass('OpenLayers.Control.Navigation');
 
for(var i = 0; i < controls.length; ++i)
{
	controls[i].disableZoomWheel();
}

Reference: Click Here

Leave a Reply

Your email address will not be published. Required fields are marked *

four × 1 =