diff --git a/src/ol/format/wmsgetfeatureinfoformat.js b/src/ol/format/wmsgetfeatureinfoformat.js index f8437b91bd..95b226da04 100644 --- a/src/ol/format/wmsgetfeatureinfoformat.js +++ b/src/ol/format/wmsgetfeatureinfoformat.js @@ -149,10 +149,7 @@ ol.format.WMSGetFeatureInfo.prototype.readFeatures; * @inheritDoc */ ol.format.WMSGetFeatureInfo.prototype.readFeaturesFromNode = function(node, opt_options) { - var options = { - 'featureType': this.featureType, - 'featureNS': this.featureNS - }; + var options = {}; if (opt_options) { ol.object.assign(options, this.getReadOptions(node, opt_options)); }