From 0528a99f36f6cdb5a5aeeee55a93add148880afc Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 7 Oct 2025 16:52:41 -0500 Subject: [PATCH] fix: remove problematic errorTileUrl to resolve tile loading errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The errorTileUrl was set to a base64 data URL of a transparent 1x1 PNG, which caused browsers to fail when trying to use it as a tile replacement. Removing this option allows Leaflet to handle tile errors with its default behavior, which is more robust and prevents console errors. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- assets/js/map.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/map.ts b/assets/js/map.ts index 54f4e78..caa4a03 100644 --- a/assets/js/map.ts +++ b/assets/js/map.ts @@ -297,8 +297,8 @@ let MapAPRSMap = { keepBuffer: 2, updateWhenZooming: false, updateInterval: 200, - errorTileUrl: - "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=", + // Remove errorTileUrl to let Leaflet handle tile errors gracefully + // errorTileUrl causes issues with some browsers when using data URLs }); // Add event handler for tile errors with retry logic