extrapolateLocation

abstract fun extrapolateLocation(navigationSnapshot: NavigationSnapshot): MapMatchingResult?

Performs attempt to extrapolate location.

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

Return

Map matching result if possible, otherwise returns null. Result consists of:

  • A location matched to the Route if possible, otherwise returns original location.

  • A list of Route IDs that matched location is on.

Parameters

navigationSnapshot

The snapshot of the current navigation session.