MMKTilesUrlProvider

protocol MMKTilesUrlProvider : NSObjectProtocol

Provides a formatted URL.

Summary

Instance methods

func formatUrl(with tileId: MMKTileId,
                   version: MMKVersion,
                  features: [String : String]) -> String
Create s a URL based on the tile ID, version, and features

Instance methods

formatUrl(with:version:features:)

func formatUrl(with tileId: MMKTileId,
                   version: MMKVersion,
                  features: [String : String]) -> String

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.