OnboardRouterOptions

class OnboardRouterOptions

Defines options for on-board router. These options enable a feature also known as Free Drive. This allows the navigator to map-match your location onto the road network without a route.

Parameters

tilesUri

tiles endpoint

tilesVersion

version of tiles. If not specified (empty), latest version is used

filePath

used for storing road network tiles

keepOlderTilesVersions

true if older version tiles must be kept, false if not. Note that this only works if tilesVersion is 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 from the server. As updating tiles frequently consumes considerably energy and bandwidth. Note that this only works if tilesVersion is empty.

Types

Builder
Link copied to clipboard
class Builder

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): OnboardRouterOptions.Builder
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

filePath
Link copied to clipboard
val filePath: String?
used for storing road network tiles
keepOlderTilesVersions
Link copied to clipboard
val keepOlderTilesVersions: Boolean
true if older version tiles must be kept, false if not.
val minDaysBetweenServerAndLocalTilesVersion: Int
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 from the server.
tilesUri
Link copied to clipboard
val tilesUri: URI
tiles endpoint
tilesVersion
Link copied to clipboard
val tilesVersion: String
version of tiles.