matchLocation

abstract fun matchLocation(    location: GeoLocation,     route: Route,     routeProgress: RouteProgress): MapMatchingResult

Performs attempt to match location to the Route.

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

location

The location which will be matched to route.

route

The route to which location will be matched.

routeProgress

Progress on the route.


abstract fun matchLocation(location: GeoLocation): MapMatchingResult

Performs attempt to match location to the map tiles.

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

location

The location which will be matched to the map tiles.