Before submitting a new issue
Bug summary
Setting rotateEnabled={false} on MapView does not prevent the user from rotating
the map on iOS. The prop is correctly respected on Android.
The map can still be rotated using a two-finger rotate gesture despite the prop being
explicitly set to false.
Minimal example:
<MapView
rotateEnabled={false}
style={{ flex: 1 }}
initialCoordinate={{ latitude: 41.387, longitude: 2.1701 }}
/>
ScreenRecording_03-28-2026.00-12-19_1.MP4
Library version
1.0.0-beta.8
Environment info
System:
OS: macOS 26.3.1
CPU: (10) arm64 Apple M1 Max
Memory: 166.72 MB / 32.00 GB
Shell: 5.9 /bin/zsh
Binaries:
Node: 24.14.0
npm: 11.9.0
Watchman: 2025.08.18.00
Managers:
CocoaPods: 1.16.2
SDKs:
iOS SDK: iOS 26.2
Xcode: 26.3 / 17C529
npmPackages:
react: 19.2.0
react-native: 0.83.2
iOS:
hermesEnabled: true
newArchEnabled: true
Steps to reproduce
Render a MapView with rotateEnabled={false}
Run on iOS (physical device or simulator)
Attempt to rotate the map using a two-finger rotate gesture
The map rotates freely despite the prop being set to false
Expected: map rotation is disabled
Actual: map can still be rotated freely
Reproducible example repository
https://github.com/dacoto/transportam-app/tree/next
Before submitting a new issue
Bug summary
Setting
rotateEnabled={false}onMapViewdoes not prevent the user from rotatingthe map on iOS. The prop is correctly respected on Android.
The map can still be rotated using a two-finger rotate gesture despite the prop being
explicitly set to false.
Minimal example:
ScreenRecording_03-28-2026.00-12-19_1.MP4
Library version
1.0.0-beta.8
Environment info
Steps to reproduce
MapViewwithrotateEnabled={false}Expected: map rotation is disabled
Actual: map can still be rotated freely
Reproducible example repository
https://github.com/dacoto/transportam-app/tree/next