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.

Camera bearing - wrong direction #6897

Closed

Description

@tomlocks

Platform: Nexus 5 Android 6.0.1
Mapbox SDK version: 4.2.0beta4

Steps to trigger behavior

  1. Update camera position using this code:
final CameraPosition.Builder builder = new CameraPosition.Builder();
 builder.target(new LatLng(52.39115,16.96389)).bearing(90).zoom(12);
 final CameraUpdate cameraUpdate = CameraUpdateFactory.newCameraPosition(builder.build());
 mapboxMap.animateCamera(cameraUpdate);

Expected behavior

Map should face east.

Actual behavior

Map is facing west.

Subtracting 360 from bearing resolves this issue, but I think that it isn't correct solution.

Activity

  1. added
    Android
    on Nov 3, 2016
  2. tobrun commented on Nov 4, 2016

    @tobrun
    Member

    Thanks for the report, able to reproduce, fixing for the 4.2.0 release.

  3. tobrun commented on Nov 4, 2016

    @tobrun
    Member

    Will be resolved when #6917 is merged in release branch, thank you for reaching out closing.

  4. added this to the android-v4.2.0 milestone on Nov 4, 2016
  5. self-assigned this
    on Nov 4, 2016
  6. johannesanderwald commented on Nov 10, 2016

    @johannesanderwald

    Hello,
    When will be there a new beta with this issue fixed?
    Best regards

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