mapbox / mapbox/mapbox-maps-android

v9 OnCameraIdleListener and now ?

Open
#2,703 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged question
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

Hello, in V9 we had OnCameraIdleListener, and I'm currently looking for the same thing. I tried ViewportStatusObserver, but it only works for animations; if I touch the card, I don't get a notification. I tried combining it with the OnMoveListener, but when I do a quick move, I get the OnMoveEnd message, but the card keeps moving.

How can I currently detect when the camera has stopped moving?

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 examining the current ViewportStatusObserver and OnMoveListener APIs, including the behavior of OnMoveEnd during touch and quick movements. Reproduce the reported interaction and compare the available camera callbacks; done means identifying or specifying a reliable way to detect when camera movement has fully stopped.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.