From 4eb6997be9a4d192a901c9190b12ede9e724d594 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 29 Feb 2016 11:36:32 +0100 Subject: [PATCH] Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_ `this.featureType` and `this.featureNS` are not defined in `ol.format.WMSGetFeatureInfo` --- src/ol/format/wmsgetfeatureinfoformat.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ol/format/wmsgetfeatureinfoformat.js b/src/ol/format/wmsgetfeatureinfoformat.js index 6b669742a6..3a5dd6f0f4 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)); }