From e7b45c4731f24a0a962215ab51edd44195d75fe3 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Wed, 28 Jun 2006 02:32:59 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer/WFS.js | 6 ++++++ 1 file changed, 6 insertions(+) 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(