More changes to ascent/descent on the map

This commit is contained in:
Marat Fayzullin 2024-12-10 15:23:55 -05:00
parent cdc591de2c
commit d420f8fafe
1 changed files with 2 additions and 2 deletions

View File

@ -773,8 +773,8 @@ AircraftMarker.prototype.getInfoHTML = function(name, receiverMarker = null) {
// Combine altitude and vertical speed
if (this.altitude) {
var alt = this.altitude.toFixed(0) + ' ft';
if (this.vspeed > 0) alt += ' ↑' + this.vspeed + ' ft/m';
else if (this.vspeed < 0) alt += ' &darr;' + (-this.vspeed) + ' ft/m';
if (this.vspeed > 0) alt = '&uarr;' + this.vspeed + ' ft/m ' + alt;
else if (this.vspeed < 0) alt = '&darr;' + (-this.vspeed) + ' ft/m ' + alt;
detailsString += Utils.makeListItem('Altitude', alt);
}