MMKTilesUrlProvider

@protocol MMKTilesUrlProvider <NSObject>

Provides a formatted URL.

Summary

Instance methods

- (nonnull NSString *)
    formatUrlWithTileId:(nonnull MMKTileId *)tileId
                version:(nonnull MMKVersion *)version
               features:
                   (nonnull NSDictionary<NSString *, NSString *> *)features;

Create s a URL based on the tile ID, version, and features

Instance methods

formatUrlWithTileId:version:features:

- (nonnull NSString *)
    formatUrlWithTileId:(nonnull MMKTileId *)tileId
                version:(nonnull MMKVersion *)version
               features:
                   (nonnull NSDictionary<NSString *, NSString *> *)features;

Create s a URL based on the tile ID, version, and features. Features are some layer customisations. Tiles with appropriate features are prioretized over tiles without them when loading.

This method may be called on any thread. Its implementation must be thread-safe.