Hi you can use : <br><br>navigationControl.disableZoomWheel();<br>navigationControl.enableZoomWheel();<br><br>Alexandre.<br><br><div class="gmail_quote">2009/1/16 darrepac <span dir="ltr">&lt;<a href="mailto:pascal.darre@laposte.net">pascal.darre@laposte.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Hi,<br>
<br>
I browse the user list to find how to disable the mouse wheel in the map.<br>
I think I find the way to do it but it doesn&#39;t work, here is my code:<br>
<br>
 &nbsp; &nbsp; &nbsp;var movemap = new OpenLayers.Control.Navigation({&#39;zoomWheelEnabled&#39;:<br>
false});<br>
<br>
 &nbsp; &nbsp; &nbsp;map.addControl(movemap);<br>
 &nbsp; &nbsp; &nbsp;movemap.activate();<br>
<br>
thanks for the help<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Disable-Zoom-wheel-tp2169123p2169123.html" target="_blank">http://n2.nabble.com/Disable-Zoom-wheel-tp2169123p2169123.html</a><br>
Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</font></blockquote></div><br>