diff options
author | rahighi <rahighi> | 2021-08-26 13:24:15 +0430 |
---|---|---|
committer | rahighi <rahighi> | 2021-08-26 13:24:15 +0430 |
commit | 195ec38d4d2f2f37bdf64c73e902954801e9b18d (patch) | |
tree | b229761a3e2430be2bb3589dce5f38e32446dc33 /modern | |
parent | 9c8bd2089e2be7ebc0e504f21bc5e7c2a8ef0292 (diff) | |
download | etbsa-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.js | 4 |
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() }, |