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

Introduce struct variant of CameraOptions #284

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Introduce struct variant of CameraOptions #284

merged 2 commits into from
Apr 21, 2021

Conversation

macdrevx
Copy link
Contributor

@macdrevx macdrevx commented Apr 21, 2021

Pull request checklist:

  • Briefly describe the changes in this PR.
  • Write tests for all new functionality. If tests were not written, please explain why.
  • Document any changes to public APIs.
  • Apply changelog label ('breaking change', 'bug 🪲', 'build', 'docs', 'feature 🍏', 'performance ⚡', 'testing 💯') or use the label 'skip changelog'
  • Changelog updated
  • Update the migration guide, API Docs, Markdown files - Readme, Developing, etc

Summary of changes

A CameraOptions struct has been introduced. All public APIs will now use this instead of the class of the same name from MapboxCoreMaps. This avoids unintended sharing and better reflects the intended value semantics of the CameraOptions concept.

@macdrevx macdrevx added the breaking change ⚠️ If your pull request introduces a breaking change and updates are required when version is published label Apr 21, 2021
@macdrevx macdrevx merged commit a063b2c into main Apr 21, 2021
@macdrevx macdrevx deleted the ah/camera-options branch April 21, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change ⚠️ If your pull request introduces a breaking change and updates are required when version is published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants