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
Labels
feature
iOS
Mapbox Maps SDK for iOS
macOS
Mapbox Maps SDK for macOS
performance
Speed, stability, CPU usage, memory usage, or power usage
#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 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
The text was updated successfully, but these errors were encountered: