Merge pull request #4932 from fredj/undef_WMSGetFeatureInfo
Remove undefined parameters to ol.format.WMSGetFeatureInfo#readFeatures_
This commit is contained in:
@@ -149,10 +149,7 @@ ol.format.WMSGetFeatureInfo.prototype.readFeatures;
|
|||||||
* @inheritDoc
|
* @inheritDoc
|
||||||
*/
|
*/
|
||||||
ol.format.WMSGetFeatureInfo.prototype.readFeaturesFromNode = function(node, opt_options) {
|
ol.format.WMSGetFeatureInfo.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||||
var options = {
|
var options = {};
|
||||||
'featureType': this.featureType,
|
|
||||||
'featureNS': this.featureNS
|
|
||||||
};
|
|
||||||
if (opt_options) {
|
if (opt_options) {
|
||||||
ol.object.assign(options, this.getReadOptions(node, opt_options));
|
ol.object.assign(options, this.getReadOptions(node, opt_options));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user