diff --git a/wxbox-web/src/lib/map/layer.ts b/wxbox-web/src/lib/map/layer.ts index 6c294d8..b3486ab 100644 --- a/wxbox-web/src/lib/map/layer.ts +++ b/wxbox-web/src/lib/map/layer.ts @@ -1,10 +1,10 @@ import { env } from '$env/dynamic/public'; export interface MutexLayerSet { - map1: ValidOpts | null; - map2: ValidOpts | null; - map3: ValidOpts | null; - map4: ValidOpts | null; + map1: ValidOpts; + map2: ValidOpts; + map3: ValidOpts; + map4: ValidOpts; } export interface OverlayLayerSet { map1: ValidOpts[]; diff --git a/wxbox-web/src/routes/+page.svelte b/wxbox-web/src/routes/+page.svelte index ad9782b..4c8120b 100644 --- a/wxbox-web/src/routes/+page.svelte +++ b/wxbox-web/src/routes/+page.svelte @@ -32,7 +32,7 @@ map3: null, map4: null }); - let overlayLayers: OverlayLayerSet = $state({ + let overlayLayers: OverlayLayerSet = $state({ map1: [], map2: [], map3: [],