Make sure we can parse WFS 1.1 responses from MapServer

This commit is contained in:
Bart van den Eijnden
2014-04-25 11:27:05 +02:00
parent 928e3244cf
commit 635dd5f380
4 changed files with 236 additions and 3 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ ol.format.WFS.prototype.readFeaturesFromNode = function(node) {
'featureType': this.featureType_,
'featureNS': this.featureNS_
}];
var features = ol.xml.pushParseAndPop(null,
var features = ol.xml.pushParseAndPop([],
ol.format.GML.FEATURE_COLLECTION_PARSERS, node, objectStack);
if (!goog.isDef(features)) {
features = [];