Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

User location doesn't tilt when animating #8893

Closed
IonAalbers opened this issue May 4, 2017 · 2 comments
Closed

User location doesn't tilt when animating #8893

IonAalbers opened this issue May 4, 2017 · 2 comments
Labels
Android Mapbox Maps SDK for Android bug

Comments

@IonAalbers
Copy link

The user location marker doesn't tilt when a camera animation tilts the map.

Platform: Android 7.1
Mapbox SDK version: 5.0.1

Example code to change the tilt

CameraPosition position = new CameraPosition.Builder().target(mMap.getCameraPosition().target).zoom(mMap.getCameraPosition().zoom).tilt(60).bearing(0).build();
mMap.animateCamera(CameraUpdateFactory.newCameraPosition(position), 200, null);

Steps to trigger behavior

  • Tilt the map by touch
  • Reset tilt with animation
  • See a user location marker that is still tilted
  • Touching the map with 2 fingers will reset the users location marker to the correct tilt level

Expected behavior

  • User location marker has the same tilt as the map
@tobrun tobrun added Android Mapbox Maps SDK for Android bug labels May 5, 2017
@LukasPaczos
Copy link
Member

@IonAalbers This is fixed in #9174.

@tobrun tobrun added this to the android-v5.1.0 milestone Jun 9, 2017
@tobrun
Copy link
Member

tobrun commented Jun 9, 2017

Fix for this has landed on release branch. Closing.

@tobrun tobrun closed this as completed Jun 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android bug
Projects
None yet
Development

No branches or pull requests

3 participants