Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_

`this.featureType` and `this.featureNS` are not defined in `ol.format.WMSGetFeatureInfo`
This commit is contained in:
Frederic Junod
2016-02-29 11:36:32 +01:00
parent 34d8d77344
commit 4eb6997be9

View File

@@ -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));
}