fix marker

This commit is contained in:
Joerg Lehmann 2021-04-21 15:26:37 +02:00
parent 110ececb30
commit c20ab1c190
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ var allmarkers = L.layerGroup();
var woBischIcon = L.icon({
iconUrl: '/static/images/marker.png',
iconSize: [64, 64],
iconAnchor: [32, 64],
iconAnchor: [32, 32],
popupAnchor: [0, -64]
});
var datapoints;
@ -20,7 +20,7 @@ var woBischIcon2 = L.icon({
iconUrl: '/static/images/marker-all.png',
iconSize: [64, 64],
iconAnchor: [32, 32],
popupAnchor: [0, 0]
popupAnchor: [0, -64]
});
var bounds;
var boundsSwitzerland = new L.LatLngBounds([[47.826186, 10.511814], [45.797054, 5.925007]]);