Add in support for showing annotation callouts by default without the user clicking on the pins

Reviewed By: mmmulani

Differential Revision: D4209555

fbshipit-source-id: 38c2459f9bec0dd2279cf673bcb22aef15748347
This commit is contained in:
Don Yu
2016-11-20 00:55:22 -08:00
committed by Facebook Github Bot
parent 7f0071ae58
commit 1835dbea7b
3 changed files with 17 additions and 0 deletions

View File

@@ -123,6 +123,13 @@ const MapView = React.createClass({
*/
showsCompass: React.PropTypes.bool,
/**
* If `true` the map will show the callouts for all annotations without
* the user having to click on the annotation.
* Default value is `false`.
*/
showsAnnotationCallouts: React.PropTypes.bool,
/**
* If `false` the user won't be able to pinch/zoom the map.
* Default value is `true`.