This commit is contained in:
parent
66de945087
commit
123b48bc7c
1 changed files with 3 additions and 3 deletions
|
@ -16,13 +16,13 @@
|
||||||
Last Update: <span id="update"></span>
|
Last Update: <span id="update"></span>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var map = L.map('map').setView([51.505, -0.09], 18);
|
var map = L.map('map').setView([52.5, 13.5], 10);
|
||||||
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
||||||
circle = L.circle([50.5, 30.5], {radius: 200}).addTo(map);
|
circle = L.circle([52.5, 13.5], {radius: 200}).addTo(map);
|
||||||
marker = L.marker([51.5, -0.09]).addTo(map)
|
marker = L.marker([52.5, 13.5]).addTo(map)
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
fetch('/json')
|
fetch('/json')
|
||||||
|
|
Loading…
Reference in a new issue