mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-30 20:41:08 +00:00
16 lines
761 B
Markdown
16 lines
761 B
Markdown
## <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 |
|
||
|
|
|
||
|
|
|