This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
Add option to prefetch low-resolution tiles #9437
Labels
Android
Mapbox Maps SDK for Android
feature
performance
Speed, stability, CPU usage, memory usage, or power usage
Milestone
#7741 adds
mbgl::Map::getPrefetchZoomDelta()
andsetPrefetchZoomDelta()
for controlling how aggressively the map loads lower-resolution tiles. This issue tracks adding a corresponding public API to the Android SDK.@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
setPrefetchesTiles(boolean)
and correspondinggetPrefetchesTiles()
or something of that nature.#9438 is the corresponding issue for iOS and macOS.
/cc @tmpsantos @tobrun
The text was updated successfully, but these errors were encountered: