onRouteProgressChanged

fun onRouteProgressChanged(routeProgress: RouteProgress)

Call whenever RouteProgress changes to produce following geometries of the current step and overview geometries of the remaining points on the route that need to be framed. This will make the following frame change zoom level and pitch depending on the proximity to the upcoming maneuver and resize overview to fit only remaining portion of the route.

onRouteChanged has to be called before providing progress to compute any updates based on the current primary route's geometry.

See also