From 8f6ed84ee0431f2ffcbedb1c5ee2b41d7eea6474 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Sun, 16 Jan 2022 12:42:39 +0100 Subject: [PATCH] Stuff --- notfall.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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()