[OpenLayers-Users] Bug in LoadingPanel + testcase

manel.clos at ajgirona.cat manel.clos at ajgirona.cat
Wed Sep 9 06:43:27 EDT 2009


Hi Bart,

As explained in my previous post, I tested using the example at:

http://dev.openlayers.org/addins/loadingPanel/trunk/examples/loadingpanel.html

If you remove usage of PanZoomBar and MouseToolbar, and use Navigation, it will show the bug. Everything else is as in the example.

So, yes, LoadingPanel is the first control added.

--
Manel Clos


-----Mensaje original-----
De: bartvde at osgis.nl [mailto:bartvde at osgis.nl]
Enviado el: miércoles, 09 de septiembre de 2009 12:01
Para: Clos Crespo, Manel
CC: users at openlayers.org
Asunto: Re: [OpenLayers-Users] Bug in LoadingPanel + testcase

Hi Manel,

what is the sequence in which you add the controls? Are you adding the
LoadingPanel as the first control before adding the Navigation control?

See also:

http://openlayers.org/pipermail/dev/2008-November/003855.html

Best regards,
Bart

> Hi,
>
> there is a bug in LoadingPanel that prevents wheel events from being
> processed. This happens only when used with OpenLayers.Control.Navigation.
>
> It works with the default usage:
> http://dev.openlayers.org/addins/loadingPanel/trunk/examples/loadingpanel.html
>
> but making these changes to the same example will allow anyone to
> reproduce the bug (tested in FF3 and IE7):
>
> in the init function:
> ...
> //   map.addControl(new OpenLayers.Control.PanZoomBar());
> //   map.addControl(new OpenLayers.Control.MouseToolbar());
>    map.addControl(new OpenLayers.Control.Navigation());
> ...
>
> this is, comment out PanZoom and MouseToolbar and add Navigation.
>
> If loading panel is showing because tiles are loading, you *can not* use
> the mouse wheel to zoom in/out. After loading or deactivating the loading
> panel mouse wheel works as usual.
>
> Here are some previous reports that may offer some more details on the
> problem:
> http://openlayers.org/pipermail/users/2009-February/010246.html
> http://openlayers.org/pipermail/users/2008-December/009508.html
>
> --
> Manel Clos
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list