diff --git a/web/src/App.svelte b/web/src/App.svelte
index 65e4005..220f852 100644
--- a/web/src/App.svelte
+++ b/web/src/App.svelte
@@ -13,14 +13,14 @@
import { mapContents, sidebarContents } from "./stores";
import ViewShortcutsMode from "./ViewShortcutsMode.svelte";
- let offlineMode = true;
- let mapStyle = offlineMode
- ? {
+ let showBasemap = false;
+ $: mapStyle = showBasemap
+ ? "https://api.maptiler.com/maps/dataviz/style.json?key=MZEJTanw3WpxRvt7qDfo"
+ : {
version: 8,
sources: {},
layers: [],
- }
- : "https://api.maptiler.com/maps/dataviz/style.json?key=MZEJTanw3WpxRvt7qDfo";
+ };
type Mode =
| {
@@ -85,6 +85,12 @@