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.

Tilt user dot on Android #3189

Closed
Closed

Description

@1ec5

The user dot or at least its accuracy circle should be transformed to appear flat against the map. See #2233 for the iOS equivalent.

/cc @zugaldia @friedbunny

Activity

  1. zugaldia commented on Dec 4, 2015

    @zugaldia
    Member

    @1ec5 Yes.

    Also, related: Is iOS doing the same thing with InfoWindows (callouts), i.e. those farther look smaller, closer InfoWindows look bigger? I noticed we aren't changing those either and we might extend this ticket to native (as in Android) annotations.

  2. tobrun commented on Dec 4, 2015

    @tobrun
    Member

    @zugaldia
    I have been thinking about introducing a generic system around the whole View versus GL interaction..
    The most of these Android Views will support the same behaviour.

  3. added
    Android
    on Dec 4, 2015
  4. added this to the android-v2.3.0 milestone on Dec 4, 2015
  5. 1ec5 commented on Dec 4, 2015

    @1ec5
    ContributorAuthor

    It probably doesn't make sense for the InfoWindows to shrink into the distance, becoming illegible. #2186 tracks shrinking the iOS user dot and its accuracy circle as it goes farther away. Ideally the Android version would too. This would be a good opportunity to introduce a "pixels per meter at distance from center" method in mbgl along the lines of the existing metersPerPixelAtLatitude().

  6. tobrun commented on Dec 4, 2015

    @tobrun
    Member

    @1ec5
    thank you for adding the pixels per meter at distance from center explanation, will get back to you if I can't figure it out on myself using metersPerPixelAtLatitude() as an example.

  7. bleege commented on Dec 4, 2015

    @bleege
    Contributor

    Related to #2233 (user puck / hoverdot)

  8. modified the milestones: android-v2.3.0, on Dec 4, 2015
  9. tobrun commented on Dec 7, 2015

    @tobrun
    Member

    Been looking into titling the UserLocationView.Currently facing the problem that the height and width of UserLocationView is match_parent. The normal way of calling setRotationX will not work in that case.

  10. modified the milestone: android-v4.1.0 on Mar 18, 2016
  11. tobrun commented on Apr 8, 2016

    @tobrun
    Member

    I'm tackling this issue in #4396.

    You can see the tilted UserLocationView in the 4th row:

    device-2016-04-08-083143

  12. added this to the android-v4.1.0 milestone on Apr 25, 2016
  13. tobrun commented on Apr 25, 2016

    @tobrun
    Member

    Landed in #4695

  14. bleege commented on Apr 25, 2016

    @bleege
    Contributor

    🚀

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

    Android

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions