fix elevation chart size

This commit is contained in:
2019-03-10 19:27:29 +01:00
parent 0717001a08
commit 3a9b14c772

View File

@@ -213,7 +213,7 @@ function initSpotMessages(aoMessages, aoTracks) {
var oElev = L.control.elevation({
collapsed: true,
position: "bottomright",
width: $('#messages').width() - $('#feed').outerWidth(true) - $('.leaflet-bottom.leaflet-left').outerWidth(true) + 4,
width: $('#projects').width() - $('#feed').outerWidth(true) - $('.leaflet-bottom.leaflet-left').outerWidth(true) + 4,
height: 125,
hoverNumber: {
decimalsX: 0, //distance (km)