mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Make OSM map less likely to rotate
This commit is contained in:
parent
752360daf0
commit
dda79dadcc
1 changed files with 4 additions and 0 deletions
|
@ -70,6 +70,10 @@ class _OsmInteractiveMapState extends State<OsmInteractiveMap> {
|
|||
initialCenter: widget.initialPosition?.toLatLng() ?? const LatLng(0, 0),
|
||||
initialZoom: max(2.5, widget.initialZoom ?? 2.5),
|
||||
minZoom: 2.5,
|
||||
interactionOptions: const InteractionOptions(
|
||||
enableMultiFingerGestureRace: true,
|
||||
pinchZoomThreshold: 0.25,
|
||||
),
|
||||
),
|
||||
children: [
|
||||
TileLayer(
|
||||
|
|
Loading…
Reference in a new issue