matchLocation

abstract fun matchLocation(navigationSnapshot: NavigationSnapshot): MapMatchingResult

Deprecated

This will be removed from future releases after 2026-10-07.

Attempts to match location based on the navigation snapshot, provided we have GNSS input data.

Return

map matching result. If the map-matcher didn't find a match it falls back to the last known map-matching result. If the last known map-matching result is not usable, it will return a result based on the raw input with isOnRoad set to false.

Parameters

navigationSnapshot

The snapshot of the current navigation session.