diff --git a/notfall.tmpl b/notfall.tmpl index 42e2631..246a151 100644 --- a/notfall.tmpl +++ b/notfall.tmpl @@ -23,7 +23,9 @@ function update() { fetch('/json') .then(response => response.json()) - .then(data => console.log(data)); + .then(data => { + map.setView([data["lat"], data["lon"]], 13); + }); } update()