TripProgressConfig

class TripProgressConfig

Trip progress component configuration class.

Properties

Link copied to clipboard
var tripOverviewRoutes: Flow<List<NavigationRoute>>

Flowable with routes list used to calculate trip details and rendering trip overview. Emitting emptyList() disables trip overview.

Link copied to clipboard
var tripProgressFormatter: TripProgressUpdateFormatter

An instance of TripProgressUpdateFormatter used to create the MapboxTripProgressApi used by the TripProgressComponent.