Rounding altitude to integer number.
This commit is contained in:
parent
22a447f590
commit
60ca9e12a2
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user