Reduce the use of goog.*
This commit is contained in:
@@ -47,7 +47,7 @@ ol.source.UrlTile = function(options) {
|
||||
logo: options.logo,
|
||||
opaque: options.opaque,
|
||||
projection: options.projection,
|
||||
state: goog.isDef(options.state) ?
|
||||
state: options.state ?
|
||||
/** @type {ol.source.State} */ (options.state) : undefined,
|
||||
tileGrid: options.tileGrid,
|
||||
tilePixelRatio: options.tilePixelRatio,
|
||||
|
||||
Reference in New Issue
Block a user