Merge pull request #4932 from fredj/undef_WMSGetFeatureInfo

Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_
This commit is contained in:
Frédéric Junod
2016-04-11 08:41:43 +02:00

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