mapbox / mapbox/mapbox-maps-flutter

How to center camera on user Location

Open
#744 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
380
Forks
204
PR merge metrics
No merged PRs in 30d

Description

Hello,
How can I center the camera on the user's gps location?
I've looked through the example app and the docs and I can't find a single thing about centering the camera on the user's location. I tried using the geolocator dart package but there's conflicts with the types in that package and the types that this mapbox package wants to use.
Any help would be appreciated, thnak you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No specific file or test is named. Start by reviewing the example app and existing documentation for camera positioning and location usage, then check how the geolocator package's types interact with the map package. Done means adding clear guidance for centering the camera on the user's GPS location.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.