MapboxTripProgressApi
Used for calculating data needed for trip progress.
Parameters
formatter
an instance of TripProgressUpdateFormatter
processor
an instance of TripProgressProcessor
Constructors
Functions
Link copied to clipboard
fun getTripProgress(routeProgress: RouteProgress): TripProgressUpdateValue
Content copied to clipboard
Calculates a trip progress update based on a RouteProgress