aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-02 18:10:47 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-02 18:10:47 -0700
commit69251d6252aaee71acf54f5e403551a807afb2fa (patch)
treeaea5592152e90a08ab67b0132160cf7dbd56147f /modern/src
parent164619b05a354df112909e0db251722dde5a3624 (diff)
downloadtrackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.tar.gz
trackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.tar.bz2
trackermap-web-69251d6252aaee71acf54f5e403551a807afb2fa.zip
Improve map speed
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/map/Map.js2
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();
}