diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index f6c6a8b9cc..7fcf288365 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -52,9 +52,7 @@ OpenLayers.Layer.WFS.prototype = */ addTile:function(bounds, position) { url = this.getFullRequestString( - {bbox:bounds.toBBOX(), - width:this.tileSize.w, - height:this.tileSize.h}); + { bbox:bounds.toBBOX() }); var tile = new OpenLayers.Tile.Image(bounds, url, this.tileSize); tile.draw(); tile.setPosition(position); @@ -65,7 +63,7 @@ OpenLayers.Layer.WFS.prototype = /** clear out the layer's main div */ _initTiles: function() { - this.div.innerHTML=""; + this.div.innerHTML = ""; OpenLayers.Layer.Grid.prototype._initTiles.apply(this, arguments); },