diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2018-07-31 15:20:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-31 15:20:05 -0400 |
commit | 885f6e3c02138398d094e49243817a83349b4d50 (patch) | |
tree | 5e29d15219589dc0d58d2a8d6d590f1ca5938096 /test | |
parent | c77aa79f51702179032b681fef2df31399fcec4f (diff) | |
download | qtlocation-mapboxgl-885f6e3c02138398d094e49243817a83349b4d50.tar.gz |
[ios] Add preferred FPS setting; vary maximum FPS by device capability
- Add `MGLMapView.preferredFramesPerSecond`, which can be set with the provided `MGLMapViewPreferredFramesPerSecond` enum values or directly with an integer.
- Adaptively set the preferred FPS based on the capabilities of the device: the oldest and least powerful devices are now capped at 30 FPS, which results in a more consistent/smoother experience.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions