[OpenLayers-Users] Bug in LoadingPanel + testcase
manel.clos at ajgirona.cat
manel.clos at ajgirona.cat
Wed Sep 9 04:30:45 EDT 2009
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090909/f4c19fb8/attachment.html
More information about the Users
mailing list