|
16 | 16 | | pitchEnabled | `boolean` | `true` | `false` | Enable/Disable pitch on map |
|
17 | 17 | | rotateEnabled | `boolean` | `true` | `false` | Enable/Disable rotation on map |
|
18 | 18 | | attributionEnabled | `boolean` | `true` | `false` | Enable/Disable attribution on map.<br/><br/>This must be enabled for Mapbox-hosted tiles and styles. Please refer to the Mapbox Terms of Service.<br/>Other providers do not require this. |
|
19 |
| -| attributionPosition | `\| { top?: number; left?: number } |
20 |
| -\| { top?: number; right?: number } |
21 |
| -\| { bottom?: number; left?: number } |
22 |
| -\| { bottom?: number; right?: number }` | `none` | `false` | Adds attribution offset, e.g. `{top: 8, left: 8}` will put attribution button in top-left corner of the map | |
| 19 | +| attributionPosition | `{ top?: number; left?: number } \| { top?: number; right?: number } \| { bottom?: number; left?: number } \| { bottom?: number; right?: number }` | `none` | `false` | Adds attribution offset, e.g. `{top: 8, left: 8}` will put attribution button in top-left corner of the map | |
23 | 20 | | tintColor | `string \| unknown[]` | `none` | `false` | MapView's tintColor |
|
24 | 21 | | logoEnabled | `boolean` | `false` | `false` | Enable/Disable the logo on the map. |
|
25 |
| -| logoPosition | `\| { top?: number; left?: number } |
26 |
| -\| { top?: number; right?: number } |
27 |
| -\| { bottom?: number; left?: number } |
28 |
| -\| { bottom?: number; right?: number }` | `none` | `false` | Adds logo offset, e.g. `{top: 8, left: 8}` will put the logo in top-left corner of the map | |
| 22 | +| logoPosition | `{ top?: number; left?: number } \| { top?: number; right?: number } \| { bottom?: number; left?: number } \| { bottom?: number; right?: number }` | `none` | `false` | Adds logo offset, e.g. `{top: 8, left: 8}` will put the logo in top-left corner of the map | |
29 | 23 | | compassEnabled | `boolean` | `none` | `false` | Enable/Disable the compass from appearing on the map |
|
30 | 24 | | compassViewPosition | `number` | `none` | `false` | Change corner of map the compass starts at. 0: TopLeft, 1: TopRight, 2: BottomLeft, 3: BottomRight |
|
31 | 25 | | compassViewMargins | `object` | `none` | `false` | Add margins to the compass with x and y values |
|
|
0 commit comments