Skip to content

Add locate-me button to zoom map to GPS position - #16

Merged
rastermanden merged 1 commit into
mainfrom
worktree-bridge-cse_0145Fr97T3hJUwaMkEAoUsT6
Apr 18, 2026
Merged

Add locate-me button to zoom map to GPS position#16
rastermanden merged 1 commit into
mainfrom
worktree-bridge-cse_0145Fr97T3hJUwaMkEAoUsT6

Conversation

@rastermanden

Copy link
Copy Markdown
Owner

Summary

  • Adds a crosshair FAB button bottom-right on the map
  • Tapping it requests GPS permission and flies the map to the user's position at zoom 15
  • Button turns terracotta while acquiring location; shows a toast on error

Test plan

  • Tap the locate button — browser requests location permission
  • After granting, map flies to current GPS position
  • Deny permission → toast appears with error message
  • Works on mobile and desktop

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rastermanden
rastermanden merged commit 12e9429 into main Apr 18, 2026
1 check passed
@rastermanden
rastermanden deleted the worktree-bridge-cse_0145Fr97T3hJUwaMkEAoUsT6 branch April 18, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant