You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We could listen to the pinch + rotate combination and set a timer in the pinch recognizer. If the rotate recognizer is not also recognized in, say, one full second, disable the rotate recognizer until the pinch is complete.
This will allow folks who do immediately pinch + rotate to freely do so in combination.
My personal perception is that Apple Maps has a slightly higher threshold for engaging rotation during pinches — perhaps ~3-5 degrees. We don’t have any threshold, currently.
I would not be in favor of ignoring rotation entirely during pinch zooms — this is Google’s behavior and I’m often frustrated by not being able to transition into a rotation while zooming.
Reacted by Tore Halset, Andrew Carvajal and Jordan Kiley
I am seeing this behavior on iOS and Android: users frequently rotate the map by accident while zooming in and out. It would be great if we could add a detection threshold for rotations during pinches, or even make that threshold configurable through the API. If the API is configurable then the developer can choose whether to keep the Google Maps "rotate while zoom" behavior or not.
@friedbunny are there any plans to increase rotation threshold in Android SDK ? Or is it possible to disable map rotation at all ? Zooming in/out with one hand is almost impossible without rotating the map. I have to use 110 % of my "mental capabilities" to not rotate the map and i am not focusing on the data in the map at all. It would be nice to have some consistency with Google Maps since 95% of app out there are using them and user are familiar with certain behavior. It is quite annoying for me that i am always rotating the map while zooming with one hand and i am tilting the map while zooming with 2 fingers.
We are using com.mapbox.mapboxsdk:mapbox-android-sdk:5.0.2@aar
Thank You :)
@andrewharveynew gestures implementation for Android just landed on master. Please feel free to retest with 6.0.0-SNAPSHOT or upcoming 6.0.0-beta.3 and let us know whether that's still an issue for you.
Activity
incanus commentedon Oct 3, 2016
We could listen to the pinch + rotate combination and set a timer in the pinch recognizer. If the rotate recognizer is not also recognized in, say, one full second, disable the rotate recognizer until the pinch is complete.
This will allow folks who do immediately pinch + rotate to freely do so in combination.
incanus commentedon Oct 3, 2016
Or, as @mayagao suggests, only recognize rotate more than x degrees if the pinch is also current in progress.
friedbunny commentedon Oct 3, 2016
My personal perception is that Apple Maps has a slightly higher threshold for engaging rotation during pinches — perhaps ~3-5 degrees. We don’t have any threshold, currently.
I would not be in favor of ignoring rotation entirely during pinch zooms — this is Google’s behavior and I’m often frustrated by not being able to transition into a rotation while zooming.
clydebarrow commentedon Oct 4, 2016
The Android implementation has the opposite problem - rotations are quite hard to trigger.
milo-trujillo commentedon Jan 12, 2017
I am seeing this behavior on iOS and Android: users frequently rotate the map by accident while zooming in and out. It would be great if we could add a detection threshold for rotations during pinches, or even make that threshold configurable through the API. If the API is configurable then the developer can choose whether to keep the Google Maps "rotate while zoom" behavior or not.
Petrulak commentedon May 3, 2017
@friedbunny are there any plans to increase rotation threshold in Android SDK ? Or is it possible to disable map rotation at all ? Zooming in/out with one hand is almost impossible without rotating the map. I have to use 110 % of my "mental capabilities" to not rotate the map and i am not focusing on the data in the map at all. It would be nice to have some consistency with Google Maps since 95% of app out there are using them and user are familiar with certain behavior. It is quite annoying for me that i am always rotating the map while zooming with one hand and i am tilting the map while zooming with 2 fingers.
We are using
com.mapbox.mapboxsdk:mapbox-android-sdk:5.0.2@aarThank You :)
percula commentedon Oct 30, 2017
I would also like the ability to increase the rotation threshold and/or the option to disable rotation while pinch-zooming.
andrewharvey commentedon Feb 25, 2018
I'm seeing this on Android too. Zooming in a few times and my map is upside down from the rotations.
LukasPaczos commentedon Feb 27, 2018
@andrewharvey new gestures implementation for Android just landed on
master. Please feel free to retest with6.0.0-SNAPSHOTor upcoming6.0.0-beta.3and let us know whether that's still an issue for you.stale commentedon Jan 17, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
jmkiley commentedon Dec 9, 2019
Addressed in #15562
Please comment or reopen if this doesn't seem to be resolved.