diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 220e936..fb898d5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -142,7 +142,8 @@ }); // Routes that are not finished on arrival: the five that fetch a forecast - // after mounting, and the redirect stubs, which render nothing at all and + // after mounting, the maps page (whose map is a cross-origin iframe that has + // to load first), and the redirect stubs, which render nothing at all and // bounce to a located URL from `onMount`. Knowing this up front is what makes // the wait reliable - the layout clears the ready flag before the swap rather // than trusting the incoming page to have done it. @@ -153,6 +154,7 @@ '/weather/compare', '/weather/seasonal', '/weather/historical', + '/weather/maps', '/weather/week/[location]', '/weather/14-day/[location]', '/weather/compare/[location]', diff --git a/src/routes/weather/maps/+page.svelte b/src/routes/weather/maps/+page.svelte index 106f922..504f0d8 100644 --- a/src/routes/weather/maps/+page.svelte +++ b/src/routes/weather/maps/+page.svelte @@ -1,6 +1,7 @@