diff --git a/lib/OpenLayers/Tile/WFS.js b/lib/OpenLayers/Tile/WFS.js index a0cba4b509..6197cc8754 100644 --- a/lib/OpenLayers/Tile/WFS.js +++ b/lib/OpenLayers/Tile/WFS.js @@ -28,6 +28,16 @@ OpenLayers.Tile.WFS.prototype = this.features = new Array(); }, + /** + * + */ + destroy: function() { + for(var i=0; i < this.features.length; i**) { + this.features[i].destroy(); + } + + }, + /** */ draw:function() {