Remove ol.global
This commit is contained in:
@@ -139,7 +139,7 @@ ol.source.TileUTFGrid.prototype.forDataAtCoordinateAndResolution = function(
|
||||
tile.forDataAtCoordinate(coordinate, callback, opt_this, opt_request);
|
||||
} else {
|
||||
if (opt_request === true) {
|
||||
ol.global.setTimeout(function() {
|
||||
setTimeout(function() {
|
||||
callback.call(opt_this, null);
|
||||
}, 0);
|
||||
} else {
|
||||
@@ -389,7 +389,7 @@ ol.source.TileUTFGrid.Tile_.prototype.forDataAtCoordinate = function(coordinate,
|
||||
this.loadInternal_();
|
||||
} else {
|
||||
if (opt_request === true) {
|
||||
ol.global.setTimeout(function() {
|
||||
setTimeout(function() {
|
||||
callback.call(opt_this, this.getData(coordinate));
|
||||
}.bind(this), 0);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user