Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Add option to prefetch low-resolution tiles #9438

Closed
1ec5 opened this issue Jul 6, 2017 · 2 comments · Fixed by #14031
Closed

Add option to prefetch low-resolution tiles #9438

1ec5 opened this issue Jul 6, 2017 · 2 comments · Fixed by #14031
Labels
feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS performance Speed, stability, CPU usage, memory usage, or power usage

Comments

@1ec5
Copy link
Contributor

1ec5 commented Jul 6, 2017

#7741 adds mbgl::Map::getPrefetchZoomDelta() and setPrefetchZoomDelta() for controlling how aggressively the map loads lower-resolution tiles. This issue tracks adding a corresponding public API to the iOS and macOS SDKs.

@tmpsantos says the optimal zoom delta is 4. Since this isn’t a value that most developers would be able to come up with on their own, we’d expose a simpler, Boolean-typed prefetchesTiles property to MGLMapView.

#9437 is the corresponding issue for Android.

/cc @tmpsantos @fabian-guerra

@1ec5 1ec5 added feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS performance Speed, stability, CPU usage, memory usage, or power usage labels Jul 6, 2017
@1ec5
Copy link
Contributor Author

1ec5 commented Jul 10, 2017

@tmpsantos says the optimal zoom delta is 4.

Apparently this constant is defined in constants.hpp.

@stale stale bot added the archived Archived because of inactivity label Nov 5, 2018
@stale
Copy link

stale bot commented Dec 1, 2018

This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS performance Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants