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

Closed

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

  1. added
    iOS
    annotations
    on May 21, 2016
  2. added this to the ios-v3.3.0 milestone on May 21, 2016
  3. changed the title [-]When map is tilted, flat annotation views should be skewed, not vertically scaled[/-] [+]When map is tilted, flat annotation views should be skewed[/+] on May 21, 2016
  4. self-assigned this
    on Jun 6, 2016
  5. 1ec5 commented on Jun 30, 2016

    @1ec5
    ContributorAuthor

    #5245 isn’t going to make iOS SDK v3.3.0, so we need to remove the flat property from MGLAnnotationView, because that property doesn’t produce the intended, documented effect. It isn’t such a big deal with the user dot/puck, which is round and relatively small, so we won’t touch that for v3.3.0. We’ll leave this bug open to track the real fix in v3.4.0.

  6. added a commit that references this issue on Jul 3, 2016
  7. 1ec5 commented on Jul 3, 2016

    @1ec5
    ContributorAuthor

    #5546 backs out the flat property, pending #5245.

  8. removed this from the ios-v3.3.0 milestone on Jul 3, 2016
  9. 5 remaining items

  10. added
    Google Maps parity
    on Aug 26, 2016
  11. added 6 commits that reference this issue on Oct 12, 2016
  12. 1ec5 commented on Nov 29, 2016

    @1ec5
    ContributorAuthor

    The commits above are from #6686.

  13. 1ec5 commented on Nov 18, 2017

    @1ec5
    ContributorAuthor

    #5546 removed the flat annotation view feature, but we’re continuing to track a correct implementation of this feature in #10498.

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

Metadata

Metadata

Assignees

Labels

Google Maps parityannotationsbugiOS

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions