diff --git a/lib/OpenLayers/Layer/WFS.js b/lib/OpenLayers/Layer/WFS.js index 5683e53a53..892500c947 100644 --- a/lib/OpenLayers/Layer/WFS.js +++ b/lib/OpenLayers/Layer/WFS.js @@ -53,7 +53,7 @@ OpenLayers.Layer.WFS.prototype = addTile:function(bounds, position) { url = this.getFullRequestString( { bbox:bounds.toBBOX() }); - var tile = new OpenLayers.Tile.Image(bounds, url, this.tileSize); + var tile = new OpenLayers.Tile.WFS(bounds, url, this.tileSize); tile.draw(); tile.setPosition(position); this.div.appendChild(tile.img);