This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Use animators for gestures and camera animations #8175
Labels
Android
Mapbox Maps SDK for Android
navigation
For the Mapbox Navigation SDK for Android or iOS or navigation use cases in general
refactor
The Android SDK should use animators to drive camera transitions in response to gestures and calls to methods like
animateTo()
. We should move offmbgl::AnimationOptions
and use thembgl::Transform
methods only for incremental transform changes on each frame of the animation.A key benefit is that the Android SDK will be able to implement concurrent animations (#3625) without us having to design an API around tweening, spring solving, or the like.
@tobrun started doing this as part of #8031. Perhaps there’s also prior art in the Qt SDK, where we’ve always relied on Qt animation APIs instead of mbgl’s.
/cc @zugaldia @ivovandongen @bsudekum
The text was updated successfully, but these errors were encountered: