[OpenLayers-Users] loading panel update
Max Weidemann
max.weidemann at freenet.de
Mon Oct 19 04:05:09 EDT 2009
Hi bartvde,
I found another Problem with the "Loading-Panel".
If you add the LoadingPanel to a map which consists only of Google layer the
Loadingpanel appears but did not disappear when the layer are loaded.
I know that the reason is that Googlelayer didnt fire a loadend event.
I solved the Problem for me by editing the draw function of the loading
panel where i set the display style to 'none'.
My drawfunction now looks like this:
draw : function() {
OpenLayers.Control.prototype.draw.apply(this, arguments);
this.div.style.display = "none";
return this.div;
},
Is there a better way for solving this Problem?
I need this solution because in our application it is possible to add and
remove WMS layer.
With kind regards
Max Weidemann
--
View this message in context: http://n2.nabble.com/loading-panel-update-tp3845240p3847720.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list