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.
CancelableCallback not fired when use easeCamera with duration 0 #10313
Originally ticketed in Mapbox Java by @PhanVanLinh
final LatLng latLng = new LatLng(16.0667433, 108.2138483);
mapboxMap.easeCamera(CameraUpdateFactory.newLatLng(latLng), 0, new MapboxMap.CancelableCallback() {
@Override
public void onCancel() {
Log.i(TAG, "moveCamera onCancel");
}
@Override
public void onFinish() {
Log.i(TAG, "moveCamera onFinish");
}
});
When I use duration 0 with easeCamera, the map ease successful to correct place but the callback onCancel and onFinish not fired. If I use the duration > 0, the callback will fired.
Activity