calculateRemainingWaypoints

fun calculateRemainingWaypoints(routeProgress: RouteProgress): List<Point>?

Given a RouteProgress, this method will calculate the remaining coordinates along the given route based on total route coordinates and the progress remaining waypoints.

If the coordinate size is less than the remaining waypoints, this method will return null.

Return

list of remaining waypoints as Points

Since

0.10.0

Parameters

routeProgress

for route coordinates and remaining waypoints