You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
onCameraChange i am calculating the Zoom level of Raster Tiles (using Math.round(cameraPosition.zoom)) and labeling it as shown
Expected behavior
onCameraChange is always called for the final position in the animation, so in my case, it should always update the label when the camera change is completed and the tiles are updated
Actual behavior
onCameraChange is not always called for the final position in the animation, but it misses a frequent number of times as shown in the gif
Platform: Android Mapbox SDK version:
The text was updated successfully, but these errors were encountered:
Thank for confirming that you are building from master. Note that you can also use stable versions that will not have this issue or build from the release branch release-android-v4.2.0. I changed the invalidation recently in #6532 to not refresh the camera position too much, it seems that gestures aren't always covert. I'm going to patch this up by hooking into setGestureInProgress(false) to determine if we need to notify OnCameraChangeListener for a change.
Steps to trigger behavior
onCameraChange i am calculating the Zoom level of Raster Tiles (using Math.round(cameraPosition.zoom)) and labeling it as shown
Expected behavior
onCameraChange is always called for the final position in the animation, so in my case, it should always update the label when the camera change is completed and the tiles are updated
Actual behavior
onCameraChange is not always called for the final position in the animation, but it misses a frequent number of times as shown in the gif
Platform: Android
Mapbox SDK version:
The text was updated successfully, but these errors were encountered: