fix elevation chart size
This commit is contained in:
@@ -213,7 +213,7 @@ function initSpotMessages(aoMessages, aoTracks) {
|
|||||||
var oElev = L.control.elevation({
|
var oElev = L.control.elevation({
|
||||||
collapsed: true,
|
collapsed: true,
|
||||||
position: "bottomright",
|
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,
|
height: 125,
|
||||||
hoverNumber: {
|
hoverNumber: {
|
||||||
decimalsX: 0, //distance (km)
|
decimalsX: 0, //distance (km)
|
||||||
|
|||||||
Reference in New Issue
Block a user