diff --git a/static/js/map.js b/static/js/map.js index 801ef70..537b4aa 100644 --- a/static/js/map.js +++ b/static/js/map.js @@ -128,7 +128,7 @@ function refreshDatapoints(deveui, start, stop) { lcontrol = L.control.layers({}).addTo(map); lcontrol.addOverlay(allmarkers, 'alle Positionen anzeigen'); bounds = new L.LatLngBounds([[mydata['max_lat'], mydata['max_lon']], [mydata['min_lat'], mydata['min_lon']]]); - map.fitBounds(bounds, { padding: [15, 15] }); + map.fitBounds(bounds, { padding: [20, 20] }); marker.bindPopup(myhtml).openPopup(); } else { $('#map').hide();