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.

[android] MyLocationView perspective change animation missing #9163

Closed

Description

@LukasPaczos

Platform: Android
Mapbox SDK version: v5.1.0-beta.3

tilt_issue_2

Animation is missing when animating camera like this:

CameraPosition position = map.getCameraPosition();
CameraPosition.Builder builder = new CameraPosition.Builder(position);
if (tilted) {
    tilted = false;
    builder.tilt(0);
}
else {
    builder.tilt(60);
    tilted = true;
}
map.animateCamera(CameraUpdateFactory.newCameraPosition(builder.build()));

Animation works fine when changing perspective via gesture, but there is another issue: #9161.
As well as #9161, this issue was not present on v4.2.0.
In this case, map padding does not matter.

Activity

  1. added
    Android
    on Jun 1, 2017
  2. self-assigned this
    on Jun 2, 2017
  3. added this to the android-v5.1.0 milestone on Jun 2, 2017
  4. tobrun commented on Jun 2, 2017

    @tobrun
    Member

    Fix for this in #9174

  5. tobrun commented on Jun 9, 2017

    @tobrun
    Member

    Fix has landed on release branch, closing.

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