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

Add preferredFrameRateRange for iOS > 15 #735

Merged
merged 8 commits into from
Oct 5, 2021
Merged

Add preferredFrameRateRange for iOS > 15 #735

merged 8 commits into from
Oct 5, 2021

Conversation

jmkiley
Copy link
Contributor

@jmkiley jmkiley commented Oct 5, 2021

PRs must be submitted under the terms of our Contributor License Agreement CLA.

Fixes: < Link to related issues that will be fixed by this pull request, if they exist >

Pull request checklist:

  • Briefly describe the changes in this PR.
  • Write tests for all new functionality. If tests were not written, please explain why.

Summary of changes

This PR adds a preferredFrameRateRange property to the MapView. This improves support for ProMotion. MapView.preferredFrameRateRange uses an internal property, MapView._preferredFrameRateRange, to store the value so that MapView.preferredFrameRateRange can be marked as available with iOS 15.

This PR also removes PreferredFPS. MapView.preferredFramesPerSecond can now be set with an Int value.

User impact (optional)

@jmkiley jmkiley self-assigned this Oct 5, 2021
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