activeGuidance

fun activeGuidance(navigationInfo: CarNavigationInfo, actionStrip: ActionStrip, mapActionStrip: ActionStrip): NavigationTemplate

Builds the active guidance NavigationTemplate used by the Mapbox navigation screen.

Parameters

navigationInfo

maneuver and travel estimate, e.g. from CarNavigationInfoProvider.

actionStrip

the action strip of the template.

mapActionStrip