You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
We should consider removing the explicit dependency on [MGLOfflineStorage sharedOfflineStorage] from MGLOfflinePack, MGLMapSnapshotter and MGLRendererConfiguration.
This would pave the way to support multiple offline storage objects which would be especially useful during (parallel) testing.
The text was updated successfully, but these errors were encountered:
These classes refer to the shared object via the class method to avoid maintaining a backreference to the file source. Most of the actual offline pack functionality lives in MGLOfflineStorage rather than MGLOfflinePack. This architecture is somewhat dictated by mbgl::OfflineManager, which isn’t quite as object-oriented as what we expose publicly on iOS and macOS. All three classes depend on the file source, which exists in mbgl as a singleton.
iOS/macOS versions: 4.7.0
We should consider removing the explicit dependency on
[MGLOfflineStorage sharedOfflineStorage]
fromMGLOfflinePack
,MGLMapSnapshotter
andMGLRendererConfiguration
.This would pave the way to support multiple offline storage objects which would be especially useful during (parallel) testing.
The text was updated successfully, but these errors were encountered: