From 87462fa2051ad46b8f630a672761d25242eb5381 Mon Sep 17 00:00:00 2001 From: bytedream Date: Tue, 26 Mar 2024 21:46:41 +0100 Subject: [PATCH] disabled map rotation --- lib/view/map.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/view/map.dart b/lib/view/map.dart index 9ccc0af..a222e96 100644 --- a/lib/view/map.dart +++ b/lib/view/map.dart @@ -18,6 +18,9 @@ class _MapViewState extends State { options: const MapOptions( initialCenter: LatLng(50.354, 7.5845), initialZoom: 16, + interactionOptions: InteractionOptions( + flags: InteractiveFlag.all & ~InteractiveFlag.rotate + ) ), children: [ TileLayer(