Fixed display of GPS altitude.
parent
33ceeef609
commit
263ea5d364
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue