diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-09 08:50:58 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-09 08:50:58 -0700 |
commit | 6c4cf067d9fd5dc8b8232b2b87af7800e806a70a (patch) | |
tree | d3a508bc39735ad4553b182e20491f2e525ad063 /modern/src/map/core/MapView.js | |
parent | c99f9becbfca0fec8fa418302e3619cedaba48cd (diff) | |
download | trackermap-web-6c4cf067d9fd5dc8b8232b2b87af7800e806a70a.tar.gz trackermap-web-6c4cf067d9fd5dc8b8232b2b87af7800e806a70a.tar.bz2 trackermap-web-6c4cf067d9fd5dc8b8232b2b87af7800e806a70a.zip |
Add compass back (fix #960)
Diffstat (limited to 'modern/src/map/core/MapView.js')
-rw-r--r-- | modern/src/map/core/MapView.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modern/src/map/core/MapView.js b/modern/src/map/core/MapView.js index ba5a67d6..eea5827a 100644 --- a/modern/src/map/core/MapView.js +++ b/modern/src/map/core/MapView.js @@ -52,9 +52,7 @@ const initMap = async () => { updateReadyValue(true); }; -map.addControl(new maplibregl.NavigationControl({ - showCompass: false, -})); +map.addControl(new maplibregl.NavigationControl()); const switcher = new SwitcherControl( () => updateReadyValue(false), |