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 was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
onCameraChange is not always called for the final position in the animation #7350
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
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.
Activity
tobrun commentedon Dec 8, 2016
@altafrm3d thank you adding a gif to explain the issue, could you add the version where you are having this issue?
altafrm3d commentedon Dec 8, 2016
@tobrun I am not sure what you meant by the version, this is the last commit in the logs, maybe that is already enough for you
commit 11229d7
Author: Konstantin Käfer [email protected]
Date: Wed Dec 7 12:37:52 2016 +0100
tobrun commentedon Dec 8, 2016
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 intosetGestureInProgress(false)to determine if we need to notify OnCameraChangeListener for a change.