#229 map: prevent gesture combination on leaflet layers
This commit is contained in:
parent
edd859ad47
commit
edce0cbcca
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ class _EntryLeafletMapState extends State<EntryLeafletMap> with TickerProviderSt
|
|||
// TODO TLAD [map] as of flutter_map v0.14.0, `doubleTapZoom` does not move when zoom is already maximal
|
||||
// this could be worked around with https://github.com/fleaflet/flutter_map/pull/960
|
||||
interactiveFlags: interactive ? InteractiveFlag.all : InteractiveFlag.none,
|
||||
// prevent triggering multiple gestures at once (e.g. rotating a bit when mostly zooming)
|
||||
enableMultiFingerGestureRace: true,
|
||||
onTap: (tapPosition, point) => widget.onMapTap?.call(point),
|
||||
controller: _leafletMapController,
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue