Fixed display of GPS altitude.

10.4.x-maintenance
mikeller 2018-06-29 00:58:29 +12:00
parent 33ceeef609
commit 263ea5d364
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ TABS.gps.initialize = function (callback) {
var url = 'https://maps.google.com/?q=' + lat + ',' + lon;
$('.GPS_info td.fix').html((GPS_DATA.fix) ? i18n.getMessage('gpsFixTrue') : i18n.getMessage('gpsFixFalse'));
$('.GPS_info td.alt').text((GPS_DATA.alt / 10) + ' m');
$('.GPS_info td.alt').text(GPS_DATA.alt + ' m');
$('.GPS_info td.lat a').prop('href', url).text(lat.toFixed(4) + ' deg');
$('.GPS_info td.lon a').prop('href', url).text(lon.toFixed(4) + ' deg');
$('.GPS_info td.speed').text(GPS_DATA.speed + ' cm/s');