Files
meshcore-analyzer/cmd/server
dborup fe68991102 feat: View Path legend, declutter toggle, and shaded touched-area boundaries
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.
2026-07-26 08:44:20 +02:00
..