diff --git a/public/hop-resolver.js b/public/hop-resolver.js index 8cad87f0..8be5ee91 100644 --- a/public/hop-resolver.js +++ b/public/hop-resolver.js @@ -81,8 +81,11 @@ window.HopResolver = (function() { function resolve(hops, originLat, originLon, observerLat, observerLon, observerId) { if (!hops || !hops.length) return {}; + console.log('[HopResolver] resolve:', { hops, originLat, originLon, observerId, iataCoords: Object.keys(iataCoords).length, observers: Object.keys(observerIataMap).length }); + // Determine observer's IATA for regional filtering const packetIata = observerId ? observerIataMap[observerId] : null; + if (observerId) console.log('[HopResolver] observer:', observerId.slice(0,12), '→ IATA:', packetIata); const resolved = {}; const hopPositions = {}; diff --git a/public/index.html b/public/index.html index 0577d1f3..c250cd22 100644 --- a/public/index.html +++ b/public/index.html @@ -82,7 +82,7 @@ - +