Tracker: pressing Record should jump the map to your location and follow it (iOS + Android) #988

Closed
opened 2026-08-06 21:21:18 +00:00 by spikerj · 1 comment
Owner

Pressing Record leaves the map at the default Colorado camera instead of going to the user.

  • iOS: TrackerMapView only recenters when routePoints.count >= 2 — the second point requires ≥5 m of movement, so standing still at record start means the map NEVER moves to you. Nothing zooms in from the default z12 either.
  • Android: it does center from the first fix, but hard-resets zoom to 15 on every point (fights user zooming) and hard-jumps the camera instead of easing.

Expected: press Record → camera moves to your location at a usable zoom and follows you for the whole recording; a manual pan shouldn't strand the camera permanently.

Fix: iOS engages MapLibre userTrackingMode = .follow while recording (follows the GPS dot even with zero accepted points, zooms in from the default camera) with per-point recenter as the fallback after a manual pan; Android preserves user zoom (floor 15) and eases the camera per point.

Pressing Record leaves the map at the default Colorado camera instead of going to the user. - **iOS**: `TrackerMapView` only recenters when `routePoints.count >= 2` — the second point requires ≥5 m of movement, so standing still at record start means the map NEVER moves to you. Nothing zooms in from the default z12 either. - **Android**: it does center from the first fix, but hard-resets zoom to 15 on every point (fights user zooming) and hard-jumps the camera instead of easing. Expected: press Record → camera moves to your location at a usable zoom and follows you for the whole recording; a manual pan shouldn't strand the camera permanently. Fix: iOS engages MapLibre `userTrackingMode = .follow` while recording (follows the GPS dot even with zero accepted points, zooms in from the default camera) with per-point recenter as the fallback after a manual pan; Android preserves user zoom (floor 15) and eases the camera per point.
Author
Owner

Resolved: spikersoft-ios PR #7 + spikersoft-android PR #5, both merged to main and field-verified by Joey ("works perfectly"). Closing. Follow-up UX (map opening at your location before recording) is #989.

Resolved: spikersoft-ios PR #7 + spikersoft-android PR #5, both merged to `main` and field-verified by Joey ("works perfectly"). Closing. Follow-up UX (map opening at your location before recording) is #989.
Sign in to join this conversation.