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.

When map is tilted, Marker Views don’t scale by distance from camera #5169

Description

@tobrun

Android equivalent of #5040, capturing from that issue:

When the map is tilted, an GL icon or point annotation grows as the camera moves toward it and shrinks as the camera moves away from it (#2186). However, annotation views maintain their size. This behavior is consistent with the user dot, but scaling would help by reinforcing the illusion of a tilted map.

Also capturing that scaling should be default to follow the style spec:

Given that the consensus in mapbox/mapbox-gl-js#2541 was that scaling by default was better, I suspect it will always be the style spec default.

Activity

  1. added
    AndroidMapbox Maps SDK for Android
    annotationsAnnotations on iOS and macOS or markers on Android
    on May 27, 2016
  2. dylan-chong commented on Nov 23, 2016

    @dylan-chong

    Any progress on this for Android? It looks like the iOS has been updated a while ago #5085

  3. tobrun commented on Sep 27, 2017

    @tobrun
    MemberAuthor

    MarkerView is going to be deprecated with #9782. We are no longer maintaining this API and will remove it in future versions of the SDK. As noted in the deprecation message. We are advising users to leverage SymbolLayer instead (you can use the sample code in #9782 to convert Android SDK views to an Image to be used as a Symbol). While we no longer maintain the API we are happy to accept any PRs on it.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidMapbox Maps SDK for AndroidannotationsAnnotations on iOS and macOS or markers on Androidgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions