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.

Marker view flat bug #5427

Closed
Closed

Description

@cammace

When an activity initiates the map with a tilt with a marker view flat set to true the icon isn't flattened until the user tilts the map manually.

Purple marker in this gif shows what happens:
ezgif com-video-to-gif 3

cc: @tobrun @zugaldia

Activity

  1. added
    Android
    on Jun 21, 2016
  2. tobrun commented on Jun 23, 2016

    @tobrun
    Member

    Fixed this with adding:

     if (marker.isFlat() && marker.getTilt() == 0) {
          marker.setTilt((float) mapboxMap.getCameraPosition().tilt);
     }

    Result:

    ezgif com-video-to-gif 39

  3. added 2 commits that reference this issue on Jun 23, 2016
  4. added this to the android-v4.1.0 milestone on Jun 23, 2016
  5. self-assigned this
    on Jun 23, 2016
  6. zugaldia commented on Jun 24, 2016

    @zugaldia
    Member

    Fixed via #5449.

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

Metadata

Metadata

Assignees

Labels

Androidbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions