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.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to