diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-02 18:10:47 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-02 18:10:47 -0700 |
commit | 69251d6252aaee71acf54f5e403551a807afb2fa (patch) | |
tree | aea5592152e90a08ab67b0132160cf7dbd56147f | |
parent | 164619b05a354df112909e0db251722dde5a3624 (diff) | |
download | trackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.tar.gz trackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.tar.bz2 trackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.zip |
Improve map speed
-rw-r--r-- | modern/src/map/Map.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |