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.

Remove REGION_DID_CHANGE Check From Camera Callback #3412

Closed

Description

@bleege

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.

/cc @zugaldia

Activity

  1. added
    Android
    on Dec 24, 2015
  2. self-assigned this
    on Dec 24, 2015
  3. added this to the android-v3.1.0 milestone on Dec 24, 2015
  4. added a commit that references this issue on Dec 24, 2015
  5. zugaldia commented on Dec 24, 2015

    @zugaldia
    Member

    👍

  6. bleege commented on Dec 24, 2015

    @bleege
    ContributorAuthor

    @zugaldia I just started a new 3.1.0-SNAPSHOT build on Bitrise. Should be ready in about 30 minutes and will likely be version 3 on the SNAPSHOT repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions