Package com.mapbox.navigation.ui.maps.route.line.model

Types

ClosestRouteValue
Link copied to clipboard
class ClosestRouteValue
The nearest route to a touch point on the Map.
MapboxRouteLineOptions
Link copied to clipboard
class MapboxRouteLineOptions
Options for the configuration and appearance of the route line.
NavigationRouteLine
Link copied to clipboard
data class NavigationRouteLine(route: NavigationRoute, identifier: String?)
Represents a route and an optional identification of used for representing routes on the map.
RouteLine
Link copied to clipboard
data class RouteLine(route: DirectionsRoute, identifier: String?)
Represents a route and an optional identification of used for representing routes on the map.
RouteLineClearValue
Link copied to clipboard
class RouteLineClearValue
Represents data used to remove the route line(s) from the map.
RouteLineColorResources
Link copied to clipboard
class RouteLineColorResources
Contains colors an other values used to determine the appearance of the route line.
RouteLineData
Link copied to clipboard
class RouteLineData
Provides information needed to draw a route.
RouteLineDistancesIndex
Link copied to clipboard
data class RouteLineDistancesIndex(point: Point, distanceRemaining: Double)
RouteLineDynamicData
Link copied to clipboard
class RouteLineDynamicData
Provides information needed to draw a route.
RouteLineError
Link copied to clipboard
class RouteLineError
Represents an error value for route line related updates.
RouteLineExpressionData
Link copied to clipboard
data class RouteLineExpressionData(offset: Double, @ColorInt() segmentColor: Int, legIndex: Int)
Contains data related to a route distance traveled and a traffic congestion color.
RouteLineExpressionProvider
Link copied to clipboard
fun fun interface RouteLineExpressionProvider
Represents a function that returns an Expression
RouteLineGranularDistances
Link copied to clipboard
data class RouteLineGranularDistances(distance: Double, distancesArray: SparseArray<RouteLineDistancesIndex>)
RouteLineResources
Link copied to clipboard
class RouteLineResources
Contains colors an other values used to determine the appearance of the route line.
RouteLineScaleValue
Link copied to clipboard
data class RouteLineScaleValue(scaleStop: Float, scaleMultiplier: Float, scale: Float)
Represents the values used for the ExpressionBuilder.stop elements in an Expression for controlling the scaling of the route line at different zoom levels.
RouteLineUpdateValue
Link copied to clipboard
class RouteLineUpdateValue
Represents data for updating the appearance of the route lines.
RouteNotFound
Link copied to clipboard
class RouteNotFound
Indicates no route was found when searching the map for a route.
RoutePoints
Link copied to clipboard
data class RoutePoints(nestedList: List<List<List<Point>>>, flatList: List<Point>)
RouteSetValue
Link copied to clipboard
class RouteSetValue
Represents the side effects for drawing routes on a map.
RouteStyleDescriptor
Link copied to clipboard
data class RouteStyleDescriptor(routeIdentifier: String, @ColorInt() lineColor: Int, @ColorInt() lineCasingColor: Int)
This class is used for describing the route line color(s) at runtime.
VanishingPointState
Link copied to clipboard
enum VanishingPointState : Enum<VanishingPointState>
Describes the vanishing point update algorithm's state.

Functions

toNavigationRouteLine
Link copied to clipboard
toNavigationRouteLines
Link copied to clipboard