Skip to content

Commit

Permalink
Update mapview.md (react-native-maps#866)
Browse files Browse the repository at this point in the history
* Update mapview.md

Updated documentation to match the example here (https://github.com/airbnb/react-native-maps/blob/master/example/examples/FitToCoordinates.js)

* Changed name from 'arguments' to 'options'
  • Loading branch information
Diogo do Carmo authored and Exilz committed Dec 9, 2016
1 parent 8b2c644 commit 815c27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mapview.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
| `animateToCoordinate` | `region: Coordinate`, `duration: Number` |
| `fitToElements` | `animated: Boolean` |
| `fitToSuppliedMarkers` | `markerIDs: String[]` | If you need to use this in `ComponentDidMount`, make sure you put it in a timeout or it will cause performance problems.
| `fitToCoordinates` | `coordinates: Array<LatLng>, edgePadding: EdgePadding, animated: Boolean` |
| `fitToCoordinates` | `coordinates: Array<LatLng>, options: { edgePadding: EdgePadding, animated: Boolean }` |



Expand Down

0 comments on commit 815c27b

Please sign in to comment.