matchLocation

open override fun matchLocation(location: GeoLocation): MapMatchingResult

Matches given location to road based on the map data.

Return

location matched to the Route if possible, otherwise returns original location

Parameters

location

The location which will be matched to route.


open override fun matchLocation(location: GeoLocation, route: Route): MapMatchingResult

Matches given location to provided Route geometry based on the map data.

Return

location matched to the Route if possible, otherwise returns original location

Parameters

location

the location which will be matched to route

route

the route to which location will be matched