Rename ol/objectutil.js to ol/obj.js
This commit is contained in:
@@ -4,7 +4,7 @@ goog.provide('ol.layer.LayerProperty');
|
||||
goog.require('ol');
|
||||
goog.require('ol.Object');
|
||||
goog.require('ol.math');
|
||||
goog.require('ol.object');
|
||||
goog.require('ol.obj');
|
||||
goog.require('ol.source.State');
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ ol.layer.Base = function(options) {
|
||||
/**
|
||||
* @type {Object.<string, *>}
|
||||
*/
|
||||
var properties = ol.object.assign({}, options);
|
||||
var properties = ol.obj.assign({}, options);
|
||||
properties[ol.layer.LayerProperty.OPACITY] =
|
||||
options.opacity !== undefined ? options.opacity : 1;
|
||||
properties[ol.layer.LayerProperty.VISIBLE] =
|
||||
|
||||
Reference in New Issue
Block a user