diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 6e85f6e920..7063d4f8cc 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -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(