MaplyMBTileFetcher

Objective-C

@interface MaplyMBTileFetcher : MaplySimpleTileFetcher

Swift

class MaplyMBTileFetcher : MaplySimpleTileFetcher

MBTiles tile fetcher.

This tile fetcher focuses on a single MBTiles file. You mate this with a QuadImageLoader to do the actual work.

Will work for image or vector MBTiles files.

  • Initialize with the name of the local MBTiles file

    Declaration

    Objective-C

    - (nullable instancetype)initWithMBTiles:(NSString *_Nonnull)fileName;

    Swift

    init?(mbTiles fileName: String)
  • Undocumented

    Declaration

    Objective-C

    - (MaplyCoordinateSystem * __nonnull)coordSys;

    Swift

    func coordSys() -> MaplyCoordinateSystem
  • Format directly from the metadata

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSString *format;

    Swift

    var format: String? { get set }