mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-27 03:28:03 +00:00
Three follow-up improvements to the View Path map, all requested together: - A compact color/symbol legend (route color, approx marker, first- heard ring) replaces the old prose paragraph explaining the same things -- shorter intro text, faster to scan. - A "show only farthest-traveled route" checkbox appears whenever a packet was heard by more than one station, to declutter busy 20+-branch packets. Only added/removed as a Leaflet layer toggle; the primary branch's own markers/polyline are never touched. - Every touched area is now shaded directly on the map (a real polygon when the area was drawn as one, a rectangle fallback for bbox-only areas) instead of only listed as text -- ties the "touched: X, Y" footer line to actual geography. Non-interactive so shapes never steal a click meant for a branch marker. The shading needed PacketPathResponse.TouchedAreas to carry geometry, not just labels -- changed from []string to []TouchedAreaShape (label + polygon or bbox). annotatePacketPathTouchedAreas now looks up the matched area's full config entry via AreaKeyForPoint instead of just its label via AreaForPoint.