Hello,
i try
var movemap = new OpenLayers.Control.Navigation({'zoomWheelEnabled':
false});
movemap.disableZoomWheel();
controls = map.getControlsByClass('OpenLayers.Control.Navigation');
for(var I = 0; icontrols.length; ++i)
controls.disableZoomWheel();
but don't work :(
Hi,
when creating your map pass an array of controls with the right
settings, so:
var map = new OpenLayers.Map(mydiv, {controls: [ new
OpenLayers.Control.Navigation({zoomWheelEnabled: false}),
new OpenLayers.Control.PanZoom(),
Bart van den Eijnden (OSGIS) a écrit :
Best regards,
Bart
Oh thanks! :)
Bye,
Fred
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hi
Thanks for your help
I did this:
var movemap = new OpenLayers.Control.Navigation({'zoomWheelEnabled':
false});
map.addControl(movemap);
movemap.activate();
navigationControl.disableZoomWheel();
and the wheel still work :(
Alexandre Ardhuin wrote:
Hi
Hi,
By changing movemap in navigationControl, this should be OK.
Alexandre
2009/1/16 darrepac pascal.da...@laposte.net
Hi
Thanks for your help
I did this:
var movemap = new OpenLayers.Control.Navigation({'zoomWheelEnabled':
false});
map.addControl(movemap);
: users@openlayers.org
Subject: Re: [OpenLayers-Users] Disable Zoom wheel
Hi,
By changing movemap in navigationControl, this should be OK.
Alexandre
2009/1/16 darrepac pascal.da...@laposte.netmailto:pascal.da...@laposte.net
Hi
Thanks for your help
I did this:
var movemap = new