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, flat annotation views should be skewed #5090

Description

@1ec5

Both the user dot/puck and the flat annotation views introduced in #5067 rely on CATransform3DRotate() to rotate the annotation view in 3D space. But the transform is based on CATransform3DIdentity, so the annotations appear to be squashed, whereas the map is skewed with a perspective transform:

untilted
    Untilted

tilted
    Tilted

Notice how the left and right edges of each annotation remain perpendicular to the top and bottom edges, even as the north-south roads come closer together towards the top of the view. (This is the same area depicted in #1266, by the way.)

/cc @boundsj @friedbunny

Activity

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

Metadata

Metadata

Assignees

Labels

Google Maps parityFor feature parity with the Google Maps SDK for Android or iOSannotationsAnnotations on iOS and macOS or markers on AndroidbugiOSMapbox Maps SDK for iOS

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions