MapCacheProtocol
public protocol MapCacheProtocolThis protocol shall be implemented by any cache used in MapCache.
See also
Main Readme page- 
                  
                  An instance of MapCacheConfigDeclarationSwift var config: MapCacheConfig { get set }
- 
                  
                  The implementation shall convert a tile path into a URL object Typically it will use the config.urlTemplateandconfig.subdomains.An example of implementation can be found in the class MapCacheDeclarationSwift func url(forTilePath path: MKTileOverlayPath) -> URL
- 
                  
                  The implementation shall return either the tile as a Data object or an Error if the tile could not be retrieved. See also SeeAlso MapKit.MkTileOverlayDeclarationSwift func loadTile(at path: MKTileOverlayPath, result: @escaping (Data?, Error?) -> Void)
 View on GitHub
View on GitHub MapCacheProtocol Protocol Reference
        MapCacheProtocol Protocol Reference