PrefetchingConfiguration

class PrefetchingConfiguration(val prefetchedAreaRadius: Distance = DEFAULT_RADIUS, val shouldRequestLaneTiles: Boolean = false)

Configuration parameters for prefetching navigation map data. It defines area around the current position or around the active route for which navigation map data is prefetched and kept available in NavigationTileStore. The larger the radius, the more robust the system is to temporary unavailability of the map data source, but at a greater memory and bandwidth cost.

Constructors

Link copied to clipboard
constructor(prefetchedAreaRadius: Distance = DEFAULT_RADIUS, shouldRequestLaneTiles: Boolean = false, prefetchedAreaAlongRoute: AreaAlongRoute? = DEFAULT_AREA_ALONG_ROUTE)
constructor(prefetchedAreaRadius: Distance = DEFAULT_RADIUS, shouldRequestLaneTiles: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Radius around the current position defining the minimum area for which navigation map data is prefetched and kept available. The actual area fetched can be greater than the requested radius. The larger the radius, the more robust the system is to temporary unavailability of the map data source, but at a greater memory and bandwidth cost. The value must be non-negative integer. The parameter defaults to DEFAULT_RADIUS meters.

Link copied to clipboard

The setting enabling access to lane tiles in the navigation tiles. When value is true lane level visualization can display the road network with enhanced lane geometry. The parameter defaults to false. WARNING: enabling lane tiles will result in increased data consumption.

Functions

Link copied to clipboard
fun copy(prefetchedAreaRadius: Distance = this.prefetchedAreaRadius, shouldRequestLaneTiles: Boolean = this.shouldRequestLaneTiles): PrefetchingConfiguration
fun copy(prefetchedAreaRadius: Distance = this.prefetchedAreaRadius, shouldRequestLaneTiles: Boolean = this.shouldRequestLaneTiles, prefetchedAreaAlongRoute: AreaAlongRoute? = this.prefetchedAreaAlongRoute): PrefetchingConfiguration

Creates a copy of this PrefetchingConfiguration object with optional parameter overrides.

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

Checks if this PrefetchingConfiguration object is equal to another object.

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

Generates a hash code for this PrefetchingConfiguration object.

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

Returns a string representation of the object.