improve layout
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
.map {
|
||||
height: 350px;
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
html,body,.section,.container {
|
||||
html,body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
height: 70%;
|
||||
.section,.container {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
hr {
|
||||
|
||||
+1
-1
@@ -123,7 +123,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: [20, 20] });
|
||||
map.fitBounds(bounds, { padding: [15, 15] });
|
||||
} else {
|
||||
$('#map').hide();
|
||||
$('#datetimeslider').hide();
|
||||
|
||||
Reference in New Issue
Block a user