Mapbox Trip Progress Api
class MapboxTripProgressApi
Content copied to clipboard
Used for calculating data needed for trip progress.
Parameters
formatter
an instance of TripProgressUpdateFormatter
processor
an instance of TripProgressProcessor
Constructors
MapboxTripProgressApi
Link copied to clipboard
Functions
getTripProgress
Link copied to clipboard
fun getTripProgress(routeProgress: RouteProgress): TripProgressUpdateValue
Content copied to clipboard
Properties
formatter
Link copied to clipboard
an instance of TripProgressUpdateFormatter