MapMatchingEngine
public protocol MapMatchingEngine : ManageableEngine
The MapMatchingEngine provides an interface for map matching functionality.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Function that provides a map matched position.
- navigationSnapshot: The snapshot of the current navigation session.
Declaration
Swift
func matchLocation(navigationSnapshot: NavigationSnapshot) throws -> MapMatchingResult
Return Value
A result with the matched location and it’s details
-
Function that attempts to extrapolate locations based on the previous position.
Declaration
Swift
func extrapolateLocation(navigationSnapshot: NavigationSnapshot) throws -> MapMatchingResult?
Parameters
navigationSnapshot
The snapshot of the current navigation session.
Return Value
Matched location if possible. Otherwise returns nil.