diff --git a/src/lib/components/DirectionsPanel.svelte b/src/lib/components/DirectionsPanel.svelte index 345005d..42b609e 100644 --- a/src/lib/components/DirectionsPanel.svelte +++ b/src/lib/components/DirectionsPanel.svelte @@ -18,6 +18,8 @@ graphLabel?: string; /** Called by the on-demand CTA to load the routable layer. */ onLoadGraph?: () => void; + /** True while the road data layer is being loaded on demand. */ + graphLoading?: boolean; /** Loaded POIs available for avoidance + search. */ searchables: Searchable[]; /** Live route progress (0..1) while computing. */ @@ -42,6 +44,7 @@ hasGraph, graphLabel = 'the road data layer', onLoadGraph, + graphLoading = false, searchables = [], progress = 0, computing = false, @@ -245,7 +248,9 @@
The {graphLabel} isn't loaded yet. Load it to enable routing.
- +