Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@cammace

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

  1. added
    Android
    on Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Android

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions