carDistance

fun carDistance(distanceMeters: Double): Distance

Provides a Distance object used in Template objects like RoutingInfo and TravelEstimate. The formatter is set up when a MapboxNavigation is attached to MapboxNavigationApp; calling this before that throws.