From 7829f31230df006c941de977ba1f92acccc46e2d Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Fri, 4 Oct 2024 23:20:28 +0200 Subject: [PATCH] Fix/remove black void if hires-tiles cant load --- common/webapp/src/js/map/Tile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/webapp/src/js/map/Tile.js b/common/webapp/src/js/map/Tile.js index a7714314..375bc56c 100644 --- a/common/webapp/src/js/map/Tile.js +++ b/common/webapp/src/js/map/Tile.js @@ -66,6 +66,8 @@ export class Tile { this.model = model; this.onLoad(this); + }, () => { + this.unload(); }) .finally(() => { this.loading = false;