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

Lock rotation when pinch-zooming #813

Closed
kkaefer opened this issue Feb 4, 2015 · 8 comments
Closed

Lock rotation when pinch-zooming #813

kkaefer opened this issue Feb 4, 2015 · 8 comments
Assignees
Labels
Android Mapbox Maps SDK for Android

Comments

@kkaefer
Copy link
Member

kkaefer commented Feb 4, 2015

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).

@kkaefer kkaefer added the Android Mapbox Maps SDK for Android label Feb 4, 2015
@ljbade
Copy link
Contributor

ljbade commented 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.

@ghost
Copy link

ghost commented Feb 8, 2015

@ljbade, if you've got an Apple Developer membership, you might want to take a look at the video for the 2010 WWDC presentation called Advanced Gesture Recognition. It talks about how they implemented their gesture recognition system and the reasoning behind some of the design choices.

https://developer.apple.com/videos/wwdc/2010/

@ljbade
Copy link
Contributor

ljbade commented Feb 8, 2015

@wsnook, cool I watch when I get to SF. For some reason United block *.mov files on their WiFi.

@incanus
Copy link
Contributor

incanus commented Feb 10, 2015

Thanks @wsnook for the insight — didn't realize they ever talked about these internals.

@ljbade
Copy link
Contributor

ljbade commented 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
Copy link
Contributor

incanus commented 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
Copy link
Contributor

ljbade commented 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?

@ljbade ljbade added this to the Android Beta milestone Feb 17, 2015
@bleege
Copy link
Contributor

bleege commented 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

@bleege bleege modified the milestones: android-v0.2.0, android-v0.1.0 Aug 31, 2015
@bleege bleege modified the milestones: android-v2.1.0, android-v2.2.0 Oct 2, 2015
@bleege bleege modified the milestones: android-v2.2.0, android-v2.3.0 Oct 28, 2015
@ljbade ljbade self-assigned this Oct 30, 2015
@ljbade ljbade closed this as completed in 212ea7a Oct 30, 2015
AndwareSsj pushed a commit to AndwareSsj/mapbox-gl-native that referenced this issue Nov 6, 2015
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

No branches or pull requests

4 participants