I am gald it help.<div><br></div><div>I will be testing 2.11, I will let you know if I face anyother &quot;bug&quot;</div><div><br></div><div><br></div><div>ricardo<br><br><div class="gmail_quote">2011/6/2 Andreas Hocevar <span dir="ltr">&lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Ricardo,<br>
<br>
the issue is that the mousewheel only does not work if the EventPane<br>
layer is the topmost one. Thanks for the pointer. Updating the ticket<br>
now.<br>
<font color="#888888"><br>
Andreas.<br>
</font><div><div></div><div class="h5"><br>
On Thu, Jun 2, 2011 at 4:00 PM, Ricardo Bayley &lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt; wrote:<br>
&gt; Sorry,<br>
&gt; Just noticed that the vector layer must be set to: visibility = true<br>
&gt; If not then mouseWheel wont work.<br>
&gt; Hope this helps<br>
&gt;<br>
&gt; Ricardo<br>
&gt; 2011/6/2 Ricardo Bayley &lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; Andreas,<br>
&gt;&gt; I just noticed that if I also load a vector layer then mouseWheel does<br>
&gt;&gt; work.<br>
&gt;&gt;<br>
&gt;&gt; ricardo<br>
&gt;&gt; 2011/6/2 Andreas Hocevar &lt;<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; apparently this is a problem with all Layer.EventPane subclasses.<br>
&gt;&gt;&gt; Created <a href="http://trac.osgeo.org/openlayers/ticket/3339" target="_blank">http://trac.osgeo.org/openlayers/ticket/3339</a> .<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Andreas.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, May 31, 2011 at 9:44 PM, Ricardo Bayley<br>
&gt;&gt;&gt; &lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt; Oh, by the way, I noticed that samples Andy pointed out use google API<br>
&gt;&gt;&gt; &gt; v3.<br>
&gt;&gt;&gt; &gt; I am currently using Google API v2.<br>
&gt;&gt;&gt; &gt; SO it is definitively a different kind of &quot;oddness&quot;.<br>
&gt;&gt;&gt; &gt; It would be interesting too to know why Google API v3 disables<br>
&gt;&gt;&gt; &gt; mouseWheel.<br>
&gt;&gt;&gt; &gt; I have not tested yet.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; r<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2011/5/31 Ricardo Bayley &lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; It seems odd.<br>
&gt;&gt;&gt; &gt;&gt; Although in my case, same code with google streets v2 does work with<br>
&gt;&gt;&gt; &gt;&gt; OL2.10, but it wont with OL2.11<br>
&gt;&gt;&gt; &gt;&gt; So I am thinking this might not be the same kind if &quot;oddness&quot;.<br>
&gt;&gt;&gt; &gt;&gt; I will investigate. If anyone from the OL 2.11 dev team knows why, let<br>
&gt;&gt;&gt; &gt;&gt; us<br>
&gt;&gt;&gt; &gt;&gt; know ;)<br>
&gt;&gt;&gt; &gt;&gt; Regards,<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Ricardo<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; 2011/5/31 Andy Harrison &lt;<a href="mailto:andyh@alh.me.uk">andyh@alh.me.uk</a>&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; On 31/05/2011 19:42, Ricardo Bayley wrote:<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; Hi folks,<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; I am testing OL 2.11 RC1<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt;&gt; I cant seem be able to zoom in or out with the mouseWheel<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Me neither. Seems to me it&#39;s the google layers that aren&#39;t working. I<br>
&gt;&gt;&gt; &gt;&gt;&gt; have maps where switching to a google layer disables the mousewheel.<br>
&gt;&gt;&gt; &gt;&gt;&gt; I<br>
&gt;&gt;&gt; &gt;&gt;&gt; notice the same effect here in the examples.<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Switch to google streets and the mousewheel stops working:<br>
&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://openlayers.org/dev/examples/all-overlays-google.html" target="_blank">http://openlayers.org/dev/examples/all-overlays-google.html</a><br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; No mousewheel for any layers:<br>
&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://openlayers.org/dev/examples/google-v3.html" target="_blank">http://openlayers.org/dev/examples/google-v3.html</a><br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; Using Firefox 4.0.1 and IE 8.<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; andy<br>
&gt;&gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; &gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; &gt;&gt;&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt;&gt;&gt; &gt;&gt;&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt;&gt; &gt; Users mailing list<br>
&gt;&gt;&gt; &gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt;&gt;&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Andreas Hocevar<br>
&gt;&gt;&gt; OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
&gt;&gt;&gt; Expert service straight from the developers.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
<div><div></div><div class="h5">Andreas Hocevar<br>
OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
Expert service straight from the developers.<br>
</div></div></blockquote></div><br></div>