aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-27 17:27:37 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-27 17:27:37 -0700
commitc603bec94e16787c355c74ebc7e7602ff3f20ae2 (patch)
tree42566ecb51f692e753d6ea0b900bc4772d0e0752 /modern/src/map
parente738ba5e5bfc8de1b1190a4d7302fe99bbb97103 (diff)
downloadtrackermap-web-c603bec94e16787c355c74ebc7e7602ff3f20ae2.tar.gz
trackermap-web-c603bec94e16787c355c74ebc7e7602ff3f20ae2.tar.bz2
trackermap-web-c603bec94e16787c355c74ebc7e7602ff3f20ae2.zip
Better default location
Diffstat (limited to 'modern/src/map')
-rw-r--r--modern/src/map/core/Map.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/map/core/Map.js b/modern/src/map/core/Map.js
index 1e7fa76b..d6f48d5d 100644
--- a/modern/src/map/core/Map.js
+++ b/modern/src/map/core/Map.js
@@ -21,6 +21,8 @@ element.style.boxSizing = 'initial';
export const map = new maplibregl.Map({
container: element,
+ center: [0, 0],
+ zoom: 9,
});
let ready = false;