diff --git a/Libraries/Components/MapView/MapView.js b/Libraries/Components/MapView/MapView.js index ac715e896..37c11187e 100644 --- a/Libraries/Components/MapView/MapView.js +++ b/Libraries/Components/MapView/MapView.js @@ -80,6 +80,13 @@ var MapView = React.createClass({ */ showsUserLocation: React.PropTypes.bool, + /** + * If `false` points of interest won't be displayed on the map. + * Default value is `true`. + * @platform ios + */ + showsPointsOfInterest: React.PropTypes.bool, + /** * If `false` the user won't be able to pinch/zoom the map. * Default value is `true`. diff --git a/React/Views/RCTMapManager.m b/React/Views/RCTMapManager.m index f4ee06f98..44dd0743e 100644 --- a/React/Views/RCTMapManager.m +++ b/React/Views/RCTMapManager.m @@ -37,6 +37,7 @@ RCT_EXPORT_MODULE() } RCT_EXPORT_VIEW_PROPERTY(showsUserLocation, BOOL) +RCT_EXPORT_VIEW_PROPERTY(showsPointsOfInterest, BOOL) RCT_EXPORT_VIEW_PROPERTY(zoomEnabled, BOOL) RCT_EXPORT_VIEW_PROPERTY(rotateEnabled, BOOL) RCT_EXPORT_VIEW_PROPERTY(pitchEnabled, BOOL)