Use ol.inherits instead of goog.inherits
This commit is contained in:
@@ -18,7 +18,7 @@ goog.require('ol.source.TileEvent');
|
||||
*/
|
||||
ol.source.UrlTile = function(options) {
|
||||
|
||||
goog.base(this, {
|
||||
ol.source.Tile.call(this, {
|
||||
attributions: options.attributions,
|
||||
cacheSize: options.cacheSize,
|
||||
extent: options.extent,
|
||||
@@ -61,7 +61,7 @@ ol.source.UrlTile = function(options) {
|
||||
}
|
||||
|
||||
};
|
||||
goog.inherits(ol.source.UrlTile, ol.source.Tile);
|
||||
ol.inherits(ol.source.UrlTile, ol.source.Tile);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user