From 198e5b34610adf9fa7c5b3969f688894e4f2e6a3 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Thu, 25 Aug 2016 13:44:12 -0600 Subject: [PATCH] Fix #1013 tiledImage. _needsDraw flag was only being set to true once the tile had been loaded which effectively made the initial tile loading sequential --- src/tiledimage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tiledimage.js b/src/tiledimage.js index 6acfc08c..eff98b6c 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -947,6 +947,7 @@ function updateViewport( tiledImage ) { // Load the new 'best' tile if (best && !best.context2D) { loadTile( tiledImage, best, currentTime ); + tiledImage._needsDraw = true; tiledImage._setFullyLoaded(false); } else { tiledImage._setFullyLoaded(true);