[OpenLayers-Users] Problem with Loadingpanel and GeoRSS

bartvde at osgis.nl bartvde at osgis.nl
Tue Jun 10 04:44:18 EDT 2008


This seems to be a bug in the GeoRSS Layer. It triggers the loadstart event
twice. The loadRSS function does this already, but the moveTo does it as
well. I've changed the code below (comment out the loadstart triggerEvent
call in moveTo).

    moveTo:function(bounds, zoomChanged, minor) {
        OpenLayers.Layer.Markers.prototype.moveTo.apply(this, arguments);
        if(this.visibility && !this.loaded){
            //this.events.triggerEvent("loadstart");
            this.loadRSS();
        }

I'll open up a bug for this. Let me know if this works for you as well.

Best regards,
Bart

On Tue, 10 Jun 2008 04:09:46 -0400, "Levii Smith" <smithlev at levii.com>
wrote:
> 
> 
> I'm having a problem with the LoadingPanel from the Addins. I'm
> loading like 
> 
> ��var loadingpanel = new OpenLayers.Control.LoadingPanel();
> ���map.addControl(loadingpanel); 
> 
> It works great for WMS layers and normal panning, but when I add a
> GeoRSS layer to the map, it never stops with the loading graphic.  
> 
> Any ideas? 
> 
> Thanks,
> Levii
> 
> 




More information about the Users mailing list