This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Map "settling" animation doesn't cancel with cancelTransitions #5905
Labels
Android
Mapbox Maps SDK for Android
I'm writing a method to prevent the camera from exiting a certain bounds (workaround for #3602). "Pseudocode":
This works for the most part except for during the "settling" animation that occurs after a swipe.
Platform: Android
Mapbox SDK version: 4.2.0-SNAPSHOT
Steps to trigger behavior
Expected behavior
moveCamera()
's call tocancelTransitions()
would cancel settling animation, preventing camera from exiting bounds.Actual behavior
Animation continues.
The text was updated successfully, but these errors were encountered: