Use bracket notation instead of goog.object.get
This commit is contained in:
@@ -152,7 +152,7 @@ ol.source.ImageWMS.prototype.getGetFeatureInfoUrl =
|
||||
'REQUEST': 'GetFeatureInfo',
|
||||
'FORMAT': 'image/png',
|
||||
'TRANSPARENT': true,
|
||||
'QUERY_LAYERS': goog.object.get(this.params_, 'LAYERS')
|
||||
'QUERY_LAYERS': this.params_['LAYERS']
|
||||
};
|
||||
goog.object.extend(baseParams, this.params_, params);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user