flutter_map
flutter_map copied to clipboard
[FEATURE] Drag gesture on PageView
What do you want implemented?
When I use FlutterMap
as a child of PageView
, I cannot swipe among the pages.
Seem like the drag gesture is prioritized for the FlutterMap
area, so the PageView
does not behave as usual.
Is there any way to swipe the PageView
with the FlutterMap
inside, but still receive the tap gesture on the the map?
Thank you.
What other alternatives are available?
No response
Can you provide any other information?
No response
Platforms Affected
Android, iOS
Severity
Obtrusive: No workarounds are available, and this is essential to me
Requirements
- [X] I agree to follow this project's Code of Conduct
- [X] I am using the latest stable version of this package
- [X] I have checked for similar feature requests which may be duplicates
Hi there @luunc,
Can you try setting absorbPanEventsOnScrollables
to false
inside MapOptions
?
Many thanks :)
Hi @JaffaKetchup ,
I don't see that property (absorbPanEventsOnScrollables
) in MapOptions

Sorry, my mistake, that will be a property in v3. For now, try doing the same on allowPanningOnScrollingParent
.
Thats on the new beta version, if using an older version could try allowPanningOnScrollingParent: true/false
Hi there @luunc, Can you try setting
absorbPanEventsOnScrollables
tofalse
insideMapOptions
? Many thanks :)
Saved the day !!!
Documentation would be great though.