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

Invert iOS compassView.isHidden logic #58

Merged
merged 3 commits into from
Apr 20, 2019
Merged

Invert iOS compassView.isHidden logic #58

merged 3 commits into from
Apr 20, 2019

Conversation

philiplindberg
Copy link
Contributor

@philiplindberg philiplindberg commented Apr 1, 2019

If the map compass is enabled (which it should be by default), mapView.compassView.isHidden should be set to the inverse of compassEnabled (line 128 of ios/Classes/MapboxMapController.swift). Right now, mapView.compassView.isHidden is set to the value of compassEnabled, which hides the compass when it should be visible.

@tobrun
Copy link
Collaborator

tobrun commented Apr 17, 2019

@philiplindberg could you add a bit more context to this PR?

cc @andrea689

@tobrun tobrun requested a review from andrea689 April 17, 2019 07:03
@tobrun tobrun added the ios label Apr 17, 2019
@philiplindberg
Copy link
Contributor Author

Updated the PR description, see above.

@andrea689 andrea689 merged commit 1cdd9f0 into flutter-mapbox-gl:master Apr 20, 2019
SheaSmith pushed a commit to SheaSmith/flutter-mapbox-gl that referenced this pull request Sep 15, 2019
@philiplindberg philiplindberg deleted the ios-compass-view branch February 10, 2020 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants