CarNavigationInfoMapper
class CarNavigationInfoMapper( context: Context, carManeuverInstructionRenderer: CarManeuverInstructionRenderer, carManeuverIconRenderer: CarManeuverIconRenderer, carLanesImageGenerator: CarLanesImageRenderer)
Content copied to clipboard
The car library provides an NavigationTemplate.NavigationInfo interface to show in a similar way we show Maneuvers. This class takes our maneuvers and maps them to the provided RoutingInfo for now.
Constructors
Link copied to clipboard
fun CarNavigationInfoMapper( context: Context, carManeuverInstructionRenderer: CarManeuverInstructionRenderer, carManeuverIconRenderer: CarManeuverIconRenderer, carLanesImageGenerator: CarLanesImageRenderer)
Content copied to clipboard
Functions
Link copied to clipboard
fun mapNavigationInfo( expectedManeuvers: Expected<ManeuverError, List<Maneuver>>, routeShields: List<RouteShield>, routeProgress: RouteProgress): NavigationTemplate.NavigationInfo?
Content copied to clipboard