DomainTilesOptions

Defines options for routing tiles of a specific domain endpoint and storage configuration.

Parameters

tilesBaseUri

scheme and host, for example "https://api.mapbox.com". If empty, the navigator works in the fallback mode for this domain all the time (route line following; no full map-matching; no map-matching in free drive).

tilesDataset

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 target any custom datasets.

tilesProfile

profile of the dataset. One of (driving|driving-traffic|walking|cycling|truck).

tilesVersion

version of tiles, chosen automatically if empty.

minDaysBetweenServerAndLocalTilesVersion

is the minimum time in days between local version of tiles and latest on the server to consider using the latest version of routing tiles of this specific domain from the server. As updating tiles frequently consumes considerably energy and bandwidth. Note that this only works if tilesVersion is empty.

Types

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

Builder for DomainTilesOptions.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.