NavigationRouteProcessor

Constructors

Link copied to clipboard
constructor(routeUtils: RouteUtils)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Will take a given location update and create a new RouteProgress based on our calculations of the distances remaining.

Link copied to clipboard

If the OffRouteCallback.onShouldIncreaseIndex has been called by the OffRouteDetector, shouldIncreaseIndex will be true and the NavigationIndices index needs to be increased by one.

Link copied to clipboard
open override fun onShouldIncreaseIndex()

This callback will fire when the OffRouteDetector determines that the user location is close enough to the upcoming org.maplibre.navigation.core.models.LegStep.

Link copied to clipboard
open override fun onShouldUpdateToIndex(legIndex: Int, stepIndex: Int)

This callback will fire when the OffRouteDetector determines that the user location is close enough to a org.maplibre.navigation.core.models.LegStep.