From 9cdf7678bb74b073736ed31c62e7f0b2197fe925 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Mon, 28 Dec 2015 09:30:12 +0100 Subject: [PATCH] Make ol.reproj.Tile#load always async for consistency --- src/ol/reproj/tile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ol/reproj/tile.js b/src/ol/reproj/tile.js index c657c08649..a698dbb8c5 100644 --- a/src/ol/reproj/tile.js +++ b/src/ol/reproj/tile.js @@ -322,7 +322,7 @@ ol.reproj.Tile.prototype.load = function() { }); if (leftToLoad === 0) { - this.reproject_(); + goog.global.setTimeout(goog.bind(this.reproject_, this), 0); } } };