matchLocation

abstract fun matchLocation(navigationSnapshot: NavigationSnapshot): MapMatchingResult

Performs attempt to match location.

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

Return

map matching result that contains:

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

  • A list of IDs for Routes that the matched location is on.

Parameters

navigationSnapshot

The snapshot of the current navigation session.