mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 23:05:00 +08:00
Add showsCompass to MapView props
Summary: Was trying to remove the compass from the map and thought I would contribute to the project for everyone. Closes https://github.com/facebook/react-native/pull/4225 Reviewed By: svcscm Differential Revision: D2674060 Pulled By: nicklockwood fb-gh-sync-id: 66f069dfc53fdeae8aaab76980146296cea1140f
This commit is contained in:
committed by
facebook-github-bot-6
parent
0e4bd91db7
commit
a3d9f5ba84
@@ -38,6 +38,7 @@ RCT_EXPORT_MODULE()
|
||||
|
||||
RCT_EXPORT_VIEW_PROPERTY(showsUserLocation, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(showsPointsOfInterest, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(showsCompass, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(zoomEnabled, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(rotateEnabled, BOOL)
|
||||
RCT_EXPORT_VIEW_PROPERTY(pitchEnabled, BOOL)
|
||||
|
||||
Reference in New Issue
Block a user