Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map annotations on iOS are not always centered #7673

Closed
jwyld opened this issue May 21, 2016 · 1 comment
Closed

Map annotations on iOS are not always centered #7673

jwyld opened this issue May 21, 2016 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jwyld
Copy link
Contributor

jwyld commented May 21, 2016

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.

@lacker
Copy link
Contributor

lacker commented Oct 21, 2016

I'm closing this issue in favor of recommending the use of react-native-maps, see #8016

@lacker lacker closed this as completed Oct 21, 2016
@facebook facebook locked as resolved and limited conversation to collaborators Jul 19, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 19, 2018
react-one pushed a commit to react-one/react-native that referenced this issue Sep 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants