Use ol.object.assign() instead of goog.object.extend()
This commit is contained in:
@@ -42,7 +42,7 @@ describe('ol.rendering.layer.VectorTile', function() {
|
||||
var options = {
|
||||
source: source
|
||||
};
|
||||
goog.object.extend(options, layerOptions);
|
||||
ol.object.assign(options, layerOptions);
|
||||
map.addLayer(new ol.layer.VectorTile(options));
|
||||
}
|
||||
|
||||
@@ -74,9 +74,9 @@ describe('ol.rendering.layer.VectorTile', function() {
|
||||
|
||||
});
|
||||
|
||||
goog.require('goog.object');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.Map');
|
||||
goog.require('ol.View');
|
||||
goog.require('ol.format.MVT');
|
||||
goog.require('ol.layer.VectorTile');
|
||||
goog.require('ol.object');
|
||||
goog.require('ol.source.VectorTile');
|
||||
|
||||
Reference in New Issue
Block a user