[OpenLayers-Commits] r4760 - trunk/openlayers/lib/OpenLayers/Layer

commits at openlayers.org commits at openlayers.org
Tue Oct 2 21:23:36 EDT 2007


Author: crschmidt
Date: 2007-10-02 21:23:35 -0400 (Tue, 02 Oct 2007)
New Revision: 4760

Modified:
   trunk/openlayers/lib/OpenLayers/Layer/WFS.js
Log:
The WFS moveTo function was not calling addTileMonitoringHooks on new tiles
it created after the first one. this means that the layer loadstart/loadend 
functions were never being called. Fix with a patch by rdewit. (See #1045)


Modified: trunk/openlayers/lib/OpenLayers/Layer/WFS.js
===================================================================
--- trunk/openlayers/lib/OpenLayers/Layer/WFS.js	2007-10-03 00:24:39 UTC (rev 4759)
+++ trunk/openlayers/lib/OpenLayers/Layer/WFS.js	2007-10-03 01:23:35 UTC (rev 4760)
@@ -255,6 +255,7 @@
                 this.tile = null;
                 this.tile = new OpenLayers.Tile.WFS(this, pos, tileBounds, 
                                                      url, tileSize);
+                this.addTileMonitoringHooks(this.tile);
                 this.tile.draw();
             } 
         }



More information about the Commits mailing list