Previous commit to change wfs tile to support formatobject + formatoptions

was the wrong patch: this typo was left out. 


git-svn-id: http://svn.openlayers.org/trunk/openlayers@5839 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2008-01-22 15:43:07 +00:00
parent 6937fabe3a
commit 90d8517e73

View File

@@ -133,7 +133,7 @@ OpenLayers.Tile.WFS = OpenLayers.Class(OpenLayers.Tile, {
doc = OpenLayers.parseXMLString(request.responseText);
}
if (this.layer.vectorMode) {
this.layer.addFeatures(this.formatObject.read(doc));
this.layer.addFeatures(this.layer.formatObject.read(doc));
} else {
var resultFeatures = OpenLayers.Ajax.getElementsByTagNameNS(
doc, "http://www.opengis.net/gml", "gml", "featureMember"