Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/docs/support/map-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ title: MapView ✅
| `rotateEnabled` | ✅ | |
| `scrollEnabled` | 🤔 | |
| `scrollDuringRotateOrZoomEnabled` | 🤔 | |
| `streetViewControl` | ✅ | Setting this false removes the corner button for street view. |
| `pitchEnabled` | ✅ | |
| `toolbarEnabled` | ❌ | |
| `cacheEnabled` | ❌ | |
Expand Down
2 changes: 2 additions & 0 deletions packages/react-native-web-maps/src/components/map-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,7 @@ function _MapView(props: MapViewProps, ref: ForwardedRef<Partial<RNMapView>>) {
maxZoom: props.maxZoomLevel, // TODO: Normalize value
scaleControl: props.showsScale,
styles: props.customMapStyle,
streetViewControl: props.streetViewControl,
...(props.options || {}),
}}
>
Expand All @@ -359,6 +360,7 @@ function _MapView(props: MapViewProps, ref: ForwardedRef<Partial<RNMapView>>) {
props.maxZoomLevel,
props.showsScale,
props.customMapStyle,
props.streetViewControl,
props.options,
]
);
Expand Down