aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/map/Map.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index 4ba36554..64fc31a0 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -64,6 +64,10 @@ const initMap = async () => {
map.on('load', initMap);
+const navigationControl = new maplibregl.NavigationControl({
+ showCompass: false,
+})
+
const switcher = new SwitcherControl(
[
{ title: t('mapOsm'), uri: styleOsm() },