Use ol.object.assign() instead of goog.object.extend()
This commit is contained in:
@@ -20,6 +20,7 @@ goog.require('ol.geom.MultiPoint');
|
||||
goog.require('ol.geom.MultiPolygon');
|
||||
goog.require('ol.geom.Point');
|
||||
goog.require('ol.geom.Polygon');
|
||||
goog.require('ol.object');
|
||||
goog.require('ol.proj');
|
||||
goog.require('ol.xml');
|
||||
|
||||
@@ -607,7 +608,7 @@ ol.format.GMLBase.prototype.readFeaturesFromNode = function(node, opt_options) {
|
||||
featureNS: this.featureNS
|
||||
};
|
||||
if (opt_options) {
|
||||
goog.object.extend(options, this.getReadOptions(node, opt_options));
|
||||
ol.object.assign(options, this.getReadOptions(node, opt_options));
|
||||
}
|
||||
return this.readFeaturesInternal(node, [options]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user