Skip to content

Added new iOS mutedStandard map-type#1824

Merged
christopherdro merged 2 commits intoreact-native-maps:masterfrom
IjzerenHein:feature-ios-maptype-mutedstandard
Nov 28, 2017
Merged

Added new iOS mutedStandard map-type#1824
christopherdro merged 2 commits intoreact-native-maps:masterfrom
IjzerenHein:feature-ios-maptype-mutedstandard

Conversation

@IjzerenHein
Copy link
Copy Markdown
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
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
* Added new iOS `mutedStandard` map-type

* Update MapView.js
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