Files
react-native-mapbox-gl/docs/MapView.md
T

16 lines
761 B
Markdown
Raw Normal View History

2017-08-24 11:05:43 -07:00
## <MapboxGL.MapView />
### MapView backed by Mapbox Native GL
#### props
| Prop | Type | Default | Required | Description |
| ---- | :--: | :-----: | :------: | ----------: |
| animated | `bool` | `true` | `false` | Animates changes between pitch and bearing |
| centerCoordinate | `object` | `{ type: 'Point', coordinates: [-77.036086, 38.910233]}` | `false` | Initial center coordinate on map |
| heading | `number` | `0` | `false` | Initial heading on map |
| pitch | `number` | `0` | `false` | Initial pitch on map |
| style | `any` | `none` | `false` | Style for wrapping React Native View |
| styleURL | `enum` | `MapView.StyleURL.Street` | `false` | Style URL for map |
| zoomLevel | `number` | `16` | `false` | Initial zoom level of map |