mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
LEFT/RIGHT cycles between Summary (existing) and the new Map view. Pixel-by-pixel polyline auto-fits the bounding box of the points to the visible area, with longitude scaled by cos(avg_lat) so trails at higher latitudes don't smear east/west. Picks the limiting axis and centres the non-limiting dimension, so the trail fills as much screen as possible without distorting. Markers: - Start point: a 5×5 plus sign - Current/last point: a 5×5 diagonal cross Edge cases: - Empty trail → "No trail yet" centred - Single point or all samples colocated → single current marker at centre - Degenerate area_w/h (very small screen) → no draw Lines are Bresenham via 1×1 fillRect — a few-tens-of-ms render which is fine for an on-demand screen. A drawPixel override on the two drivers would speed this up, deferred until the cost becomes visible. Bottom hint shows `<>` for view nav, "N/2" current view, and the Enter-toggle label. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>