diff --git a/htdocs/map.js b/htdocs/map.js index 8dac88a..e63a7c9 100644 --- a/htdocs/map.js +++ b/htdocs/map.js @@ -479,7 +479,7 @@ $(function(){ detailsString += '
' + makeListTitle('Details'); if (marker.altitude) { - detailsString += makeListItem('Altitude', marker.altitude + ' m'); + detailsString += makeListItem('Altitude', marker.altitude.toFixed(0) + ' m'); } if (marker.device) {