Package com.mapbox.navigation.ui.route

Types

IdentifiableRoute
Link copied to clipboard
data class IdentifiableRoute(route: DirectionsRoute, routeIdentifier: String)
A wrapper class for DirectionsRoute that includes an identity property that can be used to override the color of the route line.
MapRouteArrow
Link copied to clipboard
open class MapRouteArrow
MapRouteClickListener
Link copied to clipboard
open class MapRouteClickListener : MapboxMap.OnMapClickListener
MapRouteLineInitializedCallback
Link copied to clipboard
interface MapRouteLineInitializedCallback
A call back that can be used to indicate that the route line layers have been added to the current style.
NavigationMapRoute
Link copied to clipboard
open class NavigationMapRoute : LifecycleObserver
Provide a route using addRoutes and a route will be drawn using runtime styling.
OnRouteSelectionChangeListener
Link copied to clipboard
interface OnRouteSelectionChangeListener
Listener for determining which current route the user has selected as their primary route for navigation.
RouteLineLayerIds
Link copied to clipboard
data class RouteLineLayerIds(primaryRouteTrafficLineLayerId: String, primaryRouteLineLayerId: String, alternativeRouteLineLayerIds: List<String>)
Contains the values for the primary and alternative route line layer ID's
RouteStyleDescriptor
Link copied to clipboard
data class RouteStyleDescriptor(routeIdentifier: String, lineColorResourceId: Int, lineShieldColorResourceId: Int)
This class is used for describing the route line color(s) at runtime.