sdk-maps / com.tomtom.online.sdk.map / RouteExtension / updateProgressAlongRoute

updateProgressAlongRoute

@PublicPreview("2021.08") abstract fun updateProgressAlongRoute(routeId: Long, location: Location!): Unit

Update the state of progress along the specified route. NOTE: #activateProgressAlongRoute(long, RouteLayerStyle) needs to be called first to be able to update the current progress along the specified route.

Parameters

routeId - Long: The id of the map's route.

location - Location!: Current location up to which the progress should be displayed.