Map Display Data Provider Hybrid
Responsible for creating instances of MapDisplayDataProvider
that is a composition of online and offline
MapDisplayDataProvider
for handling hybrid map tile requests.
The provision is based on the tile availability in the NDSStore
.
When in offline mode the request is first checked against an in-memory cache before propagating to offline data provider. When in online mode the request is first checked against an in-memory cache before proceeding with the request. There is also a persistent cache to reduce the network calls.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum HybridTileDataProviderFactory
Declaration
Swift
extension HybridTileDataProviderOfflineFirst: MapDisplayDataProvider
Declaration
Swift
extension HybridTileDataProviderOnlineFirst: MapDisplayDataProvider