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.
Remove REGION_DID_CHANGE Check From Camera Callback #3412
The original Camera API Refinements from #3358 had Callback checks for both REGION_DID_CHANGE_ANIMATED and REGION_DID_CHANGE. The check for REGION_DID_CHANGE was put in for the animateCamera (CameraUpdate update, MapView.CancelableCallback callback) method as it had a 0 time length duration for animation and therefore technically never animated and therefore the Callback was never called. However, this check is leading to some inconsistencies with the full animateCamera (CameraUpdate update, int durationMs, MapView.CancelableCallback callback) method. To solve both problems let's remove the REGION_DID_CHANGE checks in both animateCamera() and easeCamera() AND change the animateCamera() methods sans duration time parameter to use a 1 millisecond duration to trigger the animation functionality but do so in a way that's not noticeable to humans.
Activity
[android] #3412 - Remove REGION_DID_CHANGE checks and set animateCame…
zugaldia commentedon Dec 24, 2015
👍
bleege commentedon Dec 24, 2015
@zugaldia I just started a new
3.1.0-SNAPSHOTbuild on Bitrise. Should be ready in about 30 minutes and will likely be version 3 on the SNAPSHOT repo.