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.
On Android, it is very easy to change the rotation of the map when zooming. iOS has some mechanism to prevent that. We should have the same behavior on Android too (Google Maps does the same).
I had noted this in #553 (comment) (comment). Touch events on Android are very hard due to the poor API Google have designed as you have to write pretty much everything from scratch.
Would love any touch experts (perhaps from JS side) to provide advice on this too.
Hmm I do like their design w.r.t. to gesture states and the interaction between different gesture recognisers. Much better than the stock Android model. I am wonder if we should implement something that operates like the Apple design on Android.
We should look high & low for any efforts to do this already outside of Google Play, then consider building it out ourselves as a standalone. IMHO it's something needed by top-notch Android apps and should exist.
Activity
ljbade commentedon Feb 4, 2015
I had noted this in #553 (comment) (comment). Touch events on Android are very hard due to the poor API Google have designed as you have to write pretty much everything from scratch.
Would love any touch experts (perhaps from JS side) to provide advice on this too.
ljbade commentedon Feb 8, 2015
@wsnook, cool I watch when I get to SF. For some reason United block *.mov files on their WiFi.
incanus commentedon Feb 10, 2015
Thanks @wsnook for the insight — didn't realize they ever talked about these internals.
ljbade commentedon Feb 10, 2015
Hmm I do like their design w.r.t. to gesture states and the interaction between different gesture recognisers. Much better than the stock Android model. I am wonder if we should implement something that operates like the Apple design on Android.
incanus commentedon Feb 10, 2015
We should look high & low for any efforts to do this already outside of Google Play, then consider building it out ourselves as a standalone. IMHO it's something needed by top-notch Android apps and should exist.
ljbade commentedon Feb 11, 2015
@bleege I see you use the same touch lib in the raster SDK. Did you ever search for other Android touch libs?
bleege commentedon Feb 23, 2015
@ljbade Here's the background on the Rotation Library decision in Android Raster: https://github.com/mapbox/mapbox-android-sdk/issues/525
[android] When pinch zooming lock rotation
[android] When pinch zooming lock rotation