mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2024-11-09 23:24:09 -08:00
display altitude in node details
This commit is contained in:
parent
c1243ee74f
commit
59b76c9087
|
@ -219,7 +219,7 @@
|
||||||
const {
|
const {
|
||||||
longName, shortName, hwModel, role,
|
longName, shortName, hwModel, role,
|
||||||
fwVersion, region, modemPreset, hasDefaultCh, onlineLocalNodes,
|
fwVersion, region, modemPreset, hasDefaultCh, onlineLocalNodes,
|
||||||
latitude, longitude, precision,
|
latitude, longitude, altitude, precision,
|
||||||
batteryLevel, voltage, chUtil, airUtilTx, uptime,
|
batteryLevel, voltage, chUtil, airUtilTx, uptime,
|
||||||
neighbors, seenBy
|
neighbors, seenBy
|
||||||
} = node
|
} = node
|
||||||
|
@ -246,6 +246,7 @@
|
||||||
${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(2)}%</td></tr>` : ''}
|
${airUtilTx ? `<tr><th>AirUtilTX</th><td>${airUtilTx.toFixed(2)}%</td></tr>` : ''}
|
||||||
${uptime ? `<tr><th>Uptime</th><td>${duration(uptime)}</td></tr>` : ''}
|
${uptime ? `<tr><th>Uptime</th><td>${duration(uptime)}</td></tr>` : ''}
|
||||||
${onlineLocalNodes ? `<tr><th>Online local nodes</th><td>${onlineLocalNodes}</td></tr>` : ''}
|
${onlineLocalNodes ? `<tr><th>Online local nodes</th><td>${onlineLocalNodes}</td></tr>` : ''}
|
||||||
|
${altitude ? `<tr><th>Altitude</th><td>${altitude.toLocaleString()} m above MSL</td></tr>` : ''}
|
||||||
${precision && precisionMargins[precision-1] ?
|
${precision && precisionMargins[precision-1] ?
|
||||||
`<tr><th>Location precision</th><td>± ${precisionMargins[precision-1].toLocaleString()} m (orange circle)</td></tr>` : ''
|
`<tr><th>Location precision</th><td>± ${precisionMargins[precision-1].toLocaleString()} m (orange circle)</td></tr>` : ''
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue