mapbox / mapbox/mapbox-maps-flutter

Callback for user-init'd pans, zooms, and rotates?

Open
#156 0 comments 7 reactions 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

How can we tell if the user pans, zooms, or rotates the map?

We have some auto-zooming, auto-panning, and auto-rotating code that we want to disable if the user zooms, pans, or rotates the map... the camera change listeners don't differentiate between programmatic and user-initiated changes.

I see that listeners for tap, long tap, and scroll were added recently, but I don't see how I could use these to tell if the user rotated/panned/zoomed the map.

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

Start by reviewing the camera change listeners and the existing tap, long-tap, and scroll listener APIs mentioned in the issue. Define completion as a documented way to distinguish user-initiated pans, zooms, and rotations from programmatic camera changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.