getSnappedLocation

open override fun getSnappedLocation(location: Location, routeProgress: RouteProgress): Location

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

Return

Snapped location along route

Parameters

location

Current raw user location

routeProgress

Current route progress