From 195ec38d4d2f2f37bdf64c73e902954801e9b18d Mon Sep 17 00:00:00 2001 From: rahighi Date: Thu, 26 Aug 2021 13:24:15 +0430 Subject: removed an error --- modern/src/map/Map.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modern') 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() }, -- cgit v1.2.3