Hi Ricardo,

the issue is that the mousewheel only does not work if the EventPane
layer is the topmost one. Thanks for the pointer. Updating the ticket
now.

Andreas.

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



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to