Skip to content

Issue #934 Add customized user location annotation text#1049

Merged
lelandrichardson merged 2 commits intoreact-native-maps:masterfrom
pyliaorachel:master
Mar 26, 2017
Merged

Issue #934 Add customized user location annotation text#1049
lelandrichardson merged 2 commits intoreact-native-maps:masterfrom
pyliaorachel:master

Conversation

@pyliaorachel
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Thanks!

@lelandrichardson lelandrichardson merged commit aeb52cb into react-native-maps:master Mar 26, 2017
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
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