[OpenLayers-Users] OL 2.11 + MouseWheel

Andreas Hocevar ahocevar at opengeo.org
Thu Jun 2 06:33:39 EDT 2011


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.bayley at 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.bayley at 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 <andyh at 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
>>> Users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list