Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Use delta Y change for quick zoom #15219

Closed
LukasPaczos opened this issue Jul 25, 2019 · 0 comments · Fixed by #15386
Closed

Use delta Y change for quick zoom #15219

LukasPaczos opened this issue Jul 25, 2019 · 0 comments · Fixed by #15386
Labels
Android Mapbox Maps SDK for Android

Comments

@LukasPaczos
Copy link
Member

Users are reporting that a zoom level during a quick zoom gesture does not return back to the origin when the pointer is moving back and forth. This is most likely caused ACTION_MOVE events summed up displacement not being equal to 0 when the gesture is performed, which in consequence returns an un-even scale factor.

We could explore setting the zoom level based on the delta Y of a pointer in relation to the gesture origin which should give us consistent results.

Refs #11240.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant