Merge pull request #47 from ericszimmermann/main

Disable Map rotation
This commit is contained in:
zjs81 2026-01-19 09:26:29 -07:00 committed by GitHub
commit 5b2d5a494c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -273,6 +273,9 @@ class _MapScreenState extends State<MapScreen> {
initialZoom: initialZoom,
minZoom: 2.0,
maxZoom: 18.0,
interactionOptions: InteractionOptions(
flags: ~InteractiveFlag.rotate
),
onTap: (_, latLng) {
if (_isSelectingPoi) {
setState(() {