From 4d5ad8131cd8e2819c95a090aa3c1e62232b883d Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sat, 4 Jan 2025 12:55:13 +0000 Subject: [PATCH] Get rid of the geolocate and fullscreen map controls --- web/src/App.svelte | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/web/src/App.svelte b/web/src/App.svelte index af3605d..fa35f7e 100644 --- a/web/src/App.svelte +++ b/web/src/App.svelte @@ -7,7 +7,13 @@ import type { Map } from "maplibre-gl"; import { init as initRouteSnapper } from "route-snapper-ts"; import { onMount } from "svelte"; - import { FillLayer, GeoJSON, MapLibre } from "svelte-maplibre"; + import { + FillLayer, + GeoJSON, + MapLibre, + NavigationControl, + ScaleControl, + } from "svelte-maplibre"; import { notNull } from "svelte-utils"; import { Geocoder } from "svelte-utils/map"; import { @@ -104,7 +110,6 @@
{ @@ -134,6 +139,8 @@ }, ]} > + +
{#if $mode.mode == "title"}