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