wfs doesnt take width and height parameters

git-svn-id: http://svn.openlayers.org/trunk/openlayers@164 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-05-18 18:52:58 +00:00
parent f5a5c49ce9
commit ca2c0dba41

View File

@@ -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);
},