From 6c4cf067d9fd5dc8b8232b2b87af7800e806a70a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 9 Jun 2022 08:50:58 -0700 Subject: Add compass back (fix #960) --- modern/src/map/core/MapView.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'modern/src/map/core/MapView.js') 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), -- cgit v1.2.3