From 69251d6252aaee71acf54f5e403551a807afb2fa Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 2 May 2022 18:10:47 -0700 Subject: Improve map speed --- modern/src/map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern/src/map/Map.js') diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js index 2c82ea03..f9cbbf87 100644 --- a/modern/src/map/Map.js +++ b/modern/src/map/Map.js @@ -74,7 +74,7 @@ const switcher = new SwitcherControl( map.once('styledata', () => { const waiting = () => { if (!map.loaded()) { - setTimeout(waiting, 100); + setTimeout(waiting, 33); } else { initMap(); } -- cgit v1.2.3