mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 14:58:12 +00:00
feat(ui): GPS trail — scale grid on map view
Add an optional dot/intersection scale grid to the trail map view: - renderGrid() draws labelled grid lines anchored to display edges - Grid step auto-selected for ~3 intervals in the shorter dimension - MIN_GRID_PX=22 prevents density on small/OLED screens; clamp ensures minimum 2 intervals on large trails - Intersections inside the label bbox and north-arrow bbox are suppressed - Toggle via Hold-Enter action menu (Grid: ON/OFF item in ActionId enum) - Map title shows 'TRAIL MAP+' when grid is active - README updated to mention grid toggle Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -206,7 +206,7 @@ Three views cycle with **LEFT / RIGHT**:
|
||||
| View | Content |
|
||||
|------|---------|
|
||||
| **Summary** | Total distance, elapsed time, avg speed or pace, point count, tracking status |
|
||||
| **Map** | Auto-fit dot-and-line plot with cos(lat) aspect correction; segment breaks marked with open/filled dots; north arrow |
|
||||
| **Map** | Auto-fit dot-and-line plot with cos(lat) aspect correction; segment breaks marked with open/filled dots; north arrow; scale grid (toggle with Enter) |
|
||||
| **List** | Per-point rows showing local time (HH:MM) and delta distance from the previous point; segment-start rows show `start` |
|
||||
|
||||
**Hold Enter** opens the action menu:
|
||||
|
||||
Reference in New Issue
Block a user