From 6bf3b8d7d40e915b35a8d67f5802245bcd0b0303 Mon Sep 17 00:00:00 2001 From: Philip Giuliani Date: Tue, 3 Mar 2015 09:29:31 +0100 Subject: [PATCH] Set loading to false when job is aborted --- src/tiledimage.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tiledimage.js b/src/tiledimage.js index ba587d07..9431502a 100644 --- a/src/tiledimage.js +++ b/src/tiledimage.js @@ -883,6 +883,9 @@ function loadTile( tiledImage, tile, time ) { crossOriginPolicy: tiledImage.crossOriginPolicy, callback: function( image ){ onTileLoad( tiledImage, tile, time, image ); + }, + abort: function() { + tile.loading = false; } }); }