From 1586cb5c71a1bfea7277eff6039a6a3e742ef7a5 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Sat, 22 Nov 2025 19:35:50 +0100 Subject: Let's see now --- src/frontend/app/routes/map.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/frontend/app/routes/map.tsx') diff --git a/src/frontend/app/routes/map.tsx b/src/frontend/app/routes/map.tsx index ef3f625..cdf3033 100644 --- a/src/frontend/app/routes/map.tsx +++ b/src/frontend/app/routes/map.tsx @@ -108,6 +108,11 @@ export default function StopMap() { const map = mapRef.current.getMap(); if (!map || map.hasImage(e.id)) return; + // Log warning for our own icons if they are missing + if (e.id.startsWith("stop-")) { + console.warn(`Missing icon image: ${e.id}`); + } + // Add a transparent 1x1 placeholder to prevent repeated warnings map.addImage(e.id, { width: 1, @@ -168,7 +173,7 @@ export default function StopMap() {