fix position of markers

This commit is contained in:
Joerg Lehmann 2021-04-26 15:51:37 +02:00
parent c20ab1c190
commit b2a1fd7bd1
1 changed files with 0 additions and 1 deletions

View File

@ -165,7 +165,6 @@ $(document).ready(function () {
var tilelayer = new L.tileLayer(url); var tilelayer = new L.tileLayer(url);
map.attributionControl.setPrefix('Source: Swiss Federal Office of Topography') map.attributionControl.setPrefix('Source: Swiss Federal Office of Topography')
map.addLayer(tilelayer); map.addLayer(tilelayer);
map.setView(L.latLng(lat, lon), 10);
marker = L.marker([lat, lon], { icon: woBischIcon, zIndexOffset: 1000 }).addTo(map); marker = L.marker([lat, lon], { icon: woBischIcon, zIndexOffset: 1000 }).addTo(map);
$('#reportrange span').html(moment(s_start).locale('de').format('D. MMM YYYY') + ' - ' + moment(s_stop).locale('de').format('D. MMM YYYY')); $('#reportrange span').html(moment(s_start).locale('de').format('D. MMM YYYY') + ' - ' + moment(s_stop).locale('de').format('D. MMM YYYY'));