From a5911122cdbe8f3e2dd671f9cc7087caf93732a7 Mon Sep 17 00:00:00 2001 From: Cfp Date: Fri, 27 Jun 2025 14:30:54 +0200 Subject: [PATCH] feat: add debug points --- src/lib/components/lnv/Map.svelte | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/src/lib/components/lnv/Map.svelte b/src/lib/components/lnv/Map.svelte index 21cb72d..61802bc 100644 --- a/src/lib/components/lnv/Map.svelte +++ b/src/lib/components/lnv/Map.svelte @@ -9,7 +9,7 @@ } from "svelte-maplibre-gl"; import { view } from "./sidebar.svelte"; import { map, pin } from "./map.svelte"; - import { routing } from "$lib/services/navigation/routing.svelte"; + import { decodePolyline, routing } from "$lib/services/navigation/routing.svelte"; import { location } from "./location.svelte"; onMount(() => { @@ -19,6 +19,8 @@ let locationDot: HTMLDivElement | undefined = $state(); let locationAccuracyCircle: HTMLDivElement | undefined = $state(); + + const DEBUG_POINTS = false; // Set to true to show debug points on the map + {#if routing.currentTrip && DEBUG_POINTS} + + + + {/if}