Builder

class Builder(tilesBaseUri: URI, tilesDataset: String, tilesProfile: String, tilesVersion: String, minDaysBetweenServerAndLocalTilesVersion: Int)

Builder for DomainTilesOptions.

Constructors

Link copied to clipboard
constructor(tilesBaseUri: URI, tilesDataset: String, tilesProfile: String, tilesVersion: String, minDaysBetweenServerAndLocalTilesVersion: Int)

Functions

Link copied to clipboard
Link copied to clipboard
fun minDaysBetweenServerAndLocalTilesVersion(minDaysBetweenServerAndLocalTilesVersion: Int): DomainTilesOptions.Builder

Override minimum time in days between local version of tiles of this specific domain and latest on the server to consider using the latest version of routing tiles from the server. This only works if tiles version is empty.

Link copied to clipboard

Override the base endpoint for the routing tiles of this specific domain.

Link copied to clipboard

String built out of <account>[.<graph>] variables. Account can be mapbox for default datasets or your username for other. Graph can be left blank if you don't have any no custom datasets. Defaults to mapbox.

Link copied to clipboard

Profile of the dataset. One of (driving|driving-traffic|walking|cycling|truck). Defaults to driving-traffic.

Link copied to clipboard

Override the default routing tiles version for this specific domain. If empty, the version will be chosen automatically.