Skip to content

Map annotations on iOS are not always centered #7673

Description

@jwyld

On iOS v0.22 - v0.26, the map annotations are not always centered properly. Commit [97fe0ea] tried to get this properly but was not done correctly. Annotation views use a center offset which is 0,0 by default. This means the annotation subview itself must be placed at center. -[RCTMapAnnotationView layoutSubviews] only attempts to set the bounds which will give it the correct size, but it doesn't preserve the centering.

At this time, I can not provide a small sample as this is part of our whole project right now.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions