Rounding altitude to integer number.

This commit is contained in:
Marat Fayzullin 2022-11-30 15:03:53 -05:00
parent 22a447f590
commit 60ca9e12a2

View File

@ -479,7 +479,7 @@ $(function(){
detailsString += '<p>' + makeListTitle('Details'); detailsString += '<p>' + makeListTitle('Details');
if (marker.altitude) { if (marker.altitude) {
detailsString += makeListItem('Altitude', marker.altitude + ' m'); detailsString += makeListItem('Altitude', marker.altitude.toFixed(0) + ' m');
} }
if (marker.device) { if (marker.device) {