-
-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPEC] gesture system enhancements #1748
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Minor (macOS/iOS): Essentially the opposite of #1768 (web). A small flick in Apple Maps moves the map (animated pan) about ~25 mm on screen, a small flick in |
Ah, I wonder if FM feels so frictiony, at least in comparison to Google Maps because GM's 'friction' changes dependent on the cursor's distance from the equator. On the equator, the dragged point stays beneath the cursor the entire way, but on more extreme latitudes, the initially dragged point lags significantly behind the cursor.
I'm assuming you mean with the fling animation disabled? |
With the fling animation enabled, that's why it feels a bit off for lighter flicks on the touch pad (very small instant movement, no animation that I can perceive). |
Considerations: I recently found trouble when trying to capture pan events. I needed to capture Also i noticed that gesture detector has support for mapping scroll events to scale events (scale = zoom in flutter gestures). I wonder if we can tap into that to integrate closer to how flutter handles gestures. Gesture Detector 'mapping' to our terminology: |
There is an open issue here: #1729
I tried to follow this approach in #1809. The pr uses the scale callbacks but doesn't use pinch at the moment. There was some incompatibility between some GestureDetector callbacks. Could be that that's the reason it isn't used but I'm not sure. |
Motivation
The user experience can be smoothend if we add zoom level transitions and animation while and after zooming.
Potential features
Scope for
flutter_map
twoFingerTapZoomOut
gesturekeyTriggerClickRotate
gestureResources
The text was updated successfully, but these errors were encountered: