From 2106a3423f3240dfa81e395e8995bf289110e6b3 Mon Sep 17 00:00:00 2001 From: moanos Date: Fri, 9 May 2025 18:34:09 +0200 Subject: [PATCH] feat: Remove compass and add fullscreen option --- .../fellchensammlung/partials/bulma-partial-map.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-map.html b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-map.html index 20ae6c5..8cc8480 100644 --- a/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-map.html +++ b/src/fellchensammlung/templates/fellchensammlung/partials/bulma-partial-map.html @@ -32,7 +32,10 @@ style: '{% static "fellchensammlung/map/styles/colorful/style.json" %}', center: map_center, zoom: zoom_level - }).addControl(new maplibregl.NavigationControl()); + }); + + map.addControl(new maplibregl.FullscreenControl()); + map.addControl(new maplibregl.NavigationControl({showCompass: false})); {% for adoption_notice in adoption_notices_map %} {% if adoption_notice.location %}