feat(map): realtime GPS location + track recording (#676)#849
Closed
msupino wants to merge 4 commits into
Closed
Conversation
…adout Adds two top-right map controls: - 📍 Show my location — watchPosition draws a blue position dot + accuracy circle (Leaflet layers), pans to the first fix, and shows a readout of GPS altitude (ft) and ground speed (kt) when available. - ⏺ Record track — appends each fix to a breadcrumb polyline (auto-starts tracking). Toggling off / location off clears the layers + readout. Geolocation errors / unsupported surface a toast. Strings (en + he) added. Fixes #676 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
🚀 Preview deployed
Commit: |
Owner
Author
|
Superseded by #862 (GPS track recorder). #862 folds in this PR's live own-ship as a 📍 Show my location toggle (reusing the shared own-ship renderer) and additionally persists recordings to the saved-route library (kind:'gps', simplified + raw track) with Drive sync. Closing in favor of the consolidated, reviewed implementation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements moving-map live tracking.
watchPositionblue dot + accuracy circle, pans to first fix, readout of GPS altitude (ft) + ground speed (kt).tests/live-location.spec.js(geolocation mocked).Fixes #676
🤖 Generated with Claude Code