getSnappedLocation

abstract fun getSnappedLocation(location: Location, routeProgress: RouteProgress): Location

Calculate a snapped location along the route. Latitude, longitude and bearing should be provided.

Return

Snapped location along route

Parameters

location

Current raw user location

routeProgress

Current route progress