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

Issue #934 Add customized user location annotation text #1049

Merged
merged 2 commits into from
Mar 26, 2017

Conversation

pyliaorachel
Copy link
Contributor

Description

On iOS, the user location annotation has a default and unsettable text My Location, as shown in issue #934.

Fix

Now you can add userLocationAnnotationTitle as a prop to <MapView /> when showsUserLocation is true.

Note

I had no prior experience in Objective-C so do let me know if the codes modified are dirty. Any other suggestions on the modified code are also welcome.

@lelandrichardson
Copy link
Collaborator

Thanks!

@lelandrichardson lelandrichardson merged commit aeb52cb into react-native-maps:master Mar 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants