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)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4760 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-10-03 01:23:35 +00:00
parent a1d3f20632
commit d000ca7b6b

View File

@@ -255,6 +255,7 @@ OpenLayers.Layer.WFS = OpenLayers.Class(
this.tile = null;
this.tile = new OpenLayers.Tile.WFS(this, pos, tileBounds,
url, tileSize);
this.addTileMonitoringHooks(this.tile);
this.tile.draw();
}
}