[OpenLayers-Users] buggy loadingPanel (vs Navigation/MouseDefaults) please help!

BrainDrain paulborodaev at gmail.com
Tue Dec 23 08:25:52 EST 2008


I've found that loadingPanel addon doesn't work properly
When I add some controls (including new OpenLayers.Control.LoadingPanel() &
new OpenLayers.Control.Navigation({ zoomWheelEnabled: true }) in my map (I'm
using tiled mapserver layer)
and when tiles loading - mouse wheel doesn't change zoom level in my map
mouse wheel become working only after loading ends
BUT with MouseDefaults control all works perfectly!
After some digging I can see that problem in onWheelEvent (MouseWheel
handler):
var elem = OpenLayers.Event.element(e) - eveluates to {... ,
className="olControlLoadingPanel olControlNoSelect", ...}
and then overLayerDiv evaluates to false - so
this.wheelZoom(e) - is not called at all during loadingPanel is active
(maximized)
What is the best way to fix that?



-- 
View this message in context: http://www.nabble.com/buggy-loadingPanel-%28vs-Navigation-MouseDefaults%29-please-help%21-tp21144457p21144457.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list