From 59b76c90871d98fa72b30b1c26ee247f84dbe638 Mon Sep 17 00:00:00 2001 From: root <165865819+brianshea2@users.noreply.github.com> Date: Sun, 18 Aug 2024 22:53:28 +0000 Subject: [PATCH] display altitude in node details --- website/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/index.html b/website/index.html index 45a68c3..0316f80 100644 --- a/website/index.html +++ b/website/index.html @@ -219,7 +219,7 @@ const { longName, shortName, hwModel, role, fwVersion, region, modemPreset, hasDefaultCh, onlineLocalNodes, - latitude, longitude, precision, + latitude, longitude, altitude, precision, batteryLevel, voltage, chUtil, airUtilTx, uptime, neighbors, seenBy } = node @@ -246,6 +246,7 @@ ${airUtilTx ? `AirUtilTX${airUtilTx.toFixed(2)}%` : ''} ${uptime ? `Uptime${duration(uptime)}` : ''} ${onlineLocalNodes ? `Online local nodes${onlineLocalNodes}` : ''} + ${altitude ? `Altitude${altitude.toLocaleString()} m above MSL` : ''} ${precision && precisionMargins[precision-1] ? `Location precision± ${precisionMargins[precision-1].toLocaleString()} m (orange circle)` : '' }