Skip to content

Commit c03db8b

Browse files
codedrepatricio
authored and
patricio
committed
Document MapView min/max zoom properties (react-native-maps#1538)
1 parent 2b372cf commit c03db8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/mapview.md

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
| `showsIndoors` | `Boolean` | `true` | A Boolean indicating whether indoor maps should be enabled.
2323
| `showsIndoorLevelPicker` | `Boolean` | `false` | A Boolean indicating whether indoor level picker should be enabled. **Note:** Android only.
2424
| `zoomEnabled` | `Boolean` | `true` | If `false` the user won't be able to pinch/zoom the map.
25+
| `minZoomLevel` | `Number` | `0` | Minimum zoom value for the map, must be between 0 and 20
26+
| `maxZoomLevel` | `Number` | `20` | Maximum zoom value for the map, must be between 0 and 20
2527
| `rotateEnabled` | `Boolean` | `true` | If `false` the user won't be able to pinch/rotate the map.
2628
| `scrollEnabled` | `Boolean` | `true` | If `false` the user won't be able to change the map region being displayed.
2729
| `pitchEnabled` | `Boolean` | `true` | If `false` the user won't be able to adjust the camera’s pitch angle.

0 commit comments

Comments
 (0)