aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorrahighi <rahighi>2021-08-26 13:24:15 +0430
committerrahighi <rahighi>2021-08-26 13:24:15 +0430
commit195ec38d4d2f2f37bdf64c73e902954801e9b18d (patch)
treeb229761a3e2430be2bb3589dce5f38e32446dc33 /modern
parent9c8bd2089e2be7ebc0e504f21bc5e7c2a8ef0292 (diff)
downloadetbsa-traccar-web-195ec38d4d2f2f37bdf64c73e902954801e9b18d.tar.gz
etbsa-traccar-web-195ec38d4d2f2f37bdf64c73e902954801e9b18d.tar.bz2
etbsa-traccar-web-195ec38d4d2f2f37bdf64c73e902954801e9b18d.zip
removed an error
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 4ba3655..64fc31a 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() },