[OpenLayers-Users] {'zoomWheelEnabled':false}
Didrik Pinte
lists at dipole-consulting.com
Thu Dec 18 11:46:45 EST 2008
And here is a corrected code to disable the mouse :
var controls =
map.getControlsByClass('OpenLayers.Control.Navigation');
for(var i = 0; i<controls.length; ++i){
controls[i].disableZoomWheel();
}
This works fine !
Thanks
Didrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081218/b6a0b9e2/attachment.bin
More information about the Users
mailing list