From 81bc31197112abb0a94f4e48ee3099fa2d0fd686 Mon Sep 17 00:00:00 2001 From: Garrett Johnson Date: Tue, 14 Jan 2025 18:31:25 +0900 Subject: [PATCH] Fix #924 --- src/base/TilesRendererBase.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/base/TilesRendererBase.js b/src/base/TilesRendererBase.js index 5500b0e6..d8b72392 100644 --- a/src/base/TilesRendererBase.js +++ b/src/base/TilesRendererBase.js @@ -621,11 +621,10 @@ export class TilesRendererBase { const addedSuccessfully = lruCache.add( tile, t => { // Stop the load if it's started - if ( t.__loadingState === LOADING ) { - - controller.abort(); + controller.abort(); - } else if ( isExternalTileSet ) { + // Clear out all tile content + if ( isExternalTileSet ) { t.children.length = 0;