[OpenLayers-Users] Bug in LoadingPanel + testcase

bartvde at osgis.nl bartvde at osgis.nl
Wed Sep 9 06:00:58 EDT 2009


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