NavigationTileStore

NavigationTileStore Implementation of a DataStore which is based on an online map. It requires a position around which the cloud data will be fetched.

IMPORTANT: Only one NavigationTileStore existing at any given time is supported. Instantiating multiple objects at the same time could yield unexpected results (including instability and increased bandwidth usage). There is no substantial practical advantage in creating multiple instances of this object. A single instance can be created and its reference can be shared across all necessary components.

Parameters

context

Android context.

config

Parameters needed to configure NavigationTileStore.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun updateActiveRoute(polyline: List<GeoPoint>)

Sets the active route around which cloud data will be fetched. If the route is longer than 35km, only the first 35km of the route will be used.

Link copied to clipboard
open override fun updatePosition(position: GeoPoint)

Sets current position around which cloud data will be fetched.