CarManeuverMapper

Functions

Link copied to clipboard
fun from(maneuverType: String?, maneuverModifier: String?, degrees: Double? = null, drivingSide: String? = null, roundaboutExitNumber: Int? = null): Maneuver.Builder

fun from(routeProgress: RouteProgress, maneuverApi: MapboxManeuverApi): Trip

Maps the routeProgress to a Trip. The destination is named after the final waypoint of the route. This overload has no Context to read string resources, so a route without a destination name falls back to the English "Destination".