This commit is contained in:
parent
38711199d6
commit
ebe3adb991
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
fetch('/json')
|
fetch('/json')
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
map.setView([data["lat"], data["lon"]], 13);
|
map.setView([data["lat"], data["lon"]], 18);
|
||||||
circle.setLatLng([data["lat"], data["lon"]])
|
circle.setLatLng([data["lat"], data["lon"]])
|
||||||
circle.setRadius(data["acc"])
|
circle.setRadius(data["acc"])
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue