Make ol.reproj.Tile#load always async for consistency

This commit is contained in:
Petr Sloup
2015-12-28 09:30:12 +01:00
parent e1712eb44a
commit 9cdf7678bb

View File

@@ -322,7 +322,7 @@ ol.reproj.Tile.prototype.load = function() {
}); });
if (leftToLoad === 0) { if (leftToLoad === 0) {
this.reproject_(); goog.global.setTimeout(goog.bind(this.reproject_, this), 0);
} }
} }
}; };