Skip to content
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

Increase rotate threshold #28

Closed
PanderMusubi opened this issue Jan 10, 2017 · 6 comments
Closed

Increase rotate threshold #28

PanderMusubi opened this issue Jan 10, 2017 · 6 comments
Labels

Comments

@PanderMusubi
Copy link

Please, increase the threshold for the rotation of the map. The map starts rotating to soon. Implement something similar as in OsmAnd so the user has to do a more explicitely action to start rotating. Benefit is that rotation is not started too quickly with a normal zoom or pan action.

@milo-trujillo
Copy link
Member

As far as I know rotation and rendering is implemented by MapBox, and is not adjustable from the API. I can enable and disable rotation, and even make rotation follow the compass (which may be a useful feature, along with panning to stay centered on the user), but can't adjust how sensitive rotation is. If you can find me the API calls to do this I'll re-open the issue.

@PanderMusubi
Copy link
Author

Are you using this? https://github.com/mapbox/mapbox.js/

@milo-trujillo
Copy link
Member

No. We're using the native Mapbox for iOS and Android: https://github.com/mapbox/mapbox-gl-native

@PanderMusubi
Copy link
Author

There have a number of issues on this. Some asking for the opposite. Recently, some pull requests have been merged regarding this. Please, have a look at recent and older activity in:

As you are working on the development, you have more insight if the threshold for rotation is going to be configurable or not. Otherwise, could you create a future request there as you know exactly which API calls this concerns.

@milo-trujillo
Copy link
Member

Thank you for finding the relevant issues. 6562 seems particularly appropriate. One last question then - are you seeing this behavior on Android, or iOS? If you're seeing it on Android then I'll try to get them to broaden 6562 to include both platforms.

It sounds like this is mostly a limitation of Mapbox: If they fix it on their end then this will no longer be a problem for Where are the Eyes. If they make the rotation threshold configurable then we'll re-open this issue and fix it.

@PanderMusubi
Copy link
Author

PanderMusubi commented Jan 12, 2017

Android. No idea about iOS. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants