MaplyRemoteTileFetchInfo

Objective-C

@interface MaplyRemoteTileFetchInfo : NSObject

Swift

class MaplyRemoteTileFetchInfo : NSObject

Fetch Info for remote tile fetches.

The URL (required) and cacheFile (optional) for the given fetch. This is the object the RemoteTileFetcher expects for the fetchInfo member of the TileFetchRequest.

  • URL to fetch from

    Declaration

    Objective-C

    @property (nonatomic, retain, nonnull) NSURLRequest *urlReq;

    Swift

    var urlReq: URLRequest { get set }
  • File name for cached file (if present). Save it here when fetched if set.

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) NSString *cacheFile;

    Swift

    var cacheFile: String? { get set }
  • If you’re using local storage (separate from the cache) this will be passed on to the MaplyTileLocalStorage manager

    Declaration

    Objective-C

    @property (nonatomic, retain, nullable) id localStorageKey;

    Swift

    var localStorageKey: Any? { get set }