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 also isn't much practical benefit of doing it; you can simply instantiate one and share the reference to it to all required places.

Parameters

context

Android context.

config

Parameters needed to configure NavigationTileStore.

Important: This is a Public Preview API. It may be changed or removed at any time.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open lateinit override var storeAccess: NavigationTileStoreAccess

Functions

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

Sets the active route.

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

Sets current position.