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

Added new iOS mutedStandard map-type #1824

Conversation

IjzerenHein
Copy link
Contributor

Hi, this PR adds support for the new mutedStandard mapType for iOS 11. This mode makes the map-tiles/streets/etc.. a bit more subtle, so that the markers and polylines to pop-out more.

mapType="mutedStandard"

image

mapType="standard"

image

Recommended use:

<MapView
  mapType={((Platform.OS === 'ios') && (parseInt(Platform.Version, 10) >= 11)) ? 'mutedStandard' : 'standard'}
 ...
 >
  ...
</MapView>

@christopherdro christopherdro merged commit 9b6946a into react-native-maps:master Nov 28, 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.

None yet

2 participants