diff --git a/public/index.html b/public/index.html
index c250cd22..eefd55cc 100644
--- a/public/index.html
+++ b/public/index.html
@@ -86,7 +86,7 @@
-
+
diff --git a/public/packets.js b/public/packets.js
index 238d33f1..76d641ff 100644
--- a/public/packets.js
+++ b/public/packets.js
@@ -1103,8 +1103,9 @@
// Re-resolve hops with observer + sender location for regional filtering & disambiguation
if (pathHops.length) {
await ensureHopResolver();
- const senderLat = decoded.lat || decoded.latitude || null;
- const senderLon = decoded.lon || decoded.longitude || null;
+ const senderLat = (decoded.lat != null && decoded.lat !== 0) ? decoded.lat : (decoded.latitude || null);
+ const senderLon = (decoded.lon != null && decoded.lon !== 0) ? decoded.lon : (decoded.longitude || null);
+ console.log('[renderDetail] re-resolve:', { senderLat, senderLon, observer: pkt.observer_id?.slice(0,12), decodedKeys: Object.keys(decoded) });
const resolved = HopResolver.resolve(pathHops, senderLat, senderLon, null, null, pkt.observer_id);
Object.assign(hopNameCache, resolved || {});
}