Builder

class Builder

Builder for RoutingTilesOptions. You must choose a filePath for this to be built successfully.

Constructors

Builder
Link copied to clipboard
fun Builder()

Functions

build
Link copied to clipboard
fun build(): RoutingTilesOptions
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
filePath
Link copied to clipboard
fun filePath(filePath: String?): RoutingTilesOptions.Builder
Creates a custom file path to store the road network tiles.
hashCode
Link copied to clipboard
open fun hashCode(): Int
fun minDaysBetweenServerAndLocalTilesVersion(minDaysBetweenServerAndLocalTilesVersion: Int): RoutingTilesOptions.Builder
Override minimum time in days between local version of tiles and latest on the server to consider using the latest version of routing tiles from the server.
tilesBaseUri
Link copied to clipboard
fun tilesBaseUri(tilesBaseUri: URI): RoutingTilesOptions.Builder
Override the routing tiles base endpoint with a URI.
tilesDataset
Link copied to clipboard
fun tilesDataset(tilesDataset: String): RoutingTilesOptions.Builder
String built out of <account>[.<graph>] variables.
tilesProfile
Link copied to clipboard
fun tilesProfile(tilesProfile: String): RoutingTilesOptions.Builder
Profile of the dataset.
tileStore
Link copied to clipboard
fun tileStore(tileStore: TileStore?): RoutingTilesOptions.Builder
Override tile store instance.
tilesVersion
Link copied to clipboard
fun tilesVersion(version: String): RoutingTilesOptions.Builder
Override the default routing tiles version.
toString
Link copied to clipboard
open fun toString(): String