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

Rotation button 1.0.0-alpha.1 #312

Merged
merged 10 commits into from
Jul 24, 2019
Merged

Rotation button 1.0.0-alpha.1 #312

merged 10 commits into from
Jul 24, 2019

Conversation

pelord
Copy link
Member

@pelord pelord commented Apr 25, 2019

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)
Button is shown only if there is a rotation on map. User have no way to know they have to hold SHIFT-ALT during drag on map.

What is the new behavior?
Button is always shown. The state (enabled/disabled) change due to rotation and there is always a tooltip to indicate how to rotate the view.
image

For mobile : IF there is no rotation, button is hidden. Why, it is really easy to rotate view on mobile.

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@pelord pelord added this to the 1.0.0-alpha.1 milestone Apr 25, 2019
@pelord pelord requested a review from mbarbeau April 30, 2019 13:19
@mbarbeau
Copy link
Member

mbarbeau commented Jun 4, 2019

I think it should be an option

@pelord
Copy link
Member Author

pelord commented Jun 4, 2019

Good point.

@mbarbeau mbarbeau closed this Jun 7, 2019
@pelord pelord reopened this Jun 19, 2019
@pelord pelord changed the base branch from 1.0.0-alpha.1 to 1.0.0-alpha June 19, 2019 01:40
@pelord
Copy link
Member Author

pelord commented Jun 19, 2019

The option (showIfNoRotation: boolean) has been added.

@mbarbeau mbarbeau merged commit 58dd071 into 1.0.0-alpha Jul 24, 2019
@mbarbeau mbarbeau deleted the rotationButtonAlpha branch July 24, 2019 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants