Commit change to WFS layer. It was breaking before, due to a lack of tileSize. This is not fixed, but is a temporary patch until I figure out the deeper reasons why.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@818 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-06-28 02:32:59 +00:00
parent 9ea5b2aa31
commit e7b45c4731

View File

@@ -41,6 +41,12 @@ OpenLayers.Layer.WFS.prototype =
}
OpenLayers.Layer.Grid.prototype.initialize.apply(this, newArguments);
OpenLayers.Layer.Markers.prototype.initialize.apply(this, newArguments);
if (options['tileSize']) {
this.tileSize = options['tileSize'].copyOf();
} else {
this.tileSize = new OpenLayers.Size(256, 256);
}
if (arguments.length > 0) {
OpenLayers.Util.applyDefaults(