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

activateProgressAlongRoute

@PublicPreview("2021.08") abstract fun activateProgressAlongRoute(routeId: Long, progressStyle: RouteLayerStyle!): Unit

Activate the progress displaying along the route. NOTE: This method itself will not display anything. #updateProgressAlongRoute(long, Location) needs to be called to update the current progress state and display it with the specified style.

Parameters

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

progressStyle - RouteLayerStyle!: Style of the progress to be displayed.