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

Types

Link copied to clipboard
class ClosestRouteValue

The nearest route to a touch point on the Map.

Link copied to clipboard
class MapboxRouteLineOptions

Options for the configuration and appearance of the route line.

Link copied to clipboard
data class NavigationRouteLine(val route: NavigationRoute, val identifier: String?)

Represents a route and an optional identification of used for representing routes on the map.

Link copied to clipboard
data class RouteLine(val route: DirectionsRoute, val identifier: String?)

Represents a route and an optional identification of used for representing routes on the map.

Link copied to clipboard
class RouteLineClearValue

Represents data used to remove the route line(s) from the map.

Link copied to clipboard
class RouteLineColorResources

Contains colors an other values used to determine the appearance of the route line.

Link copied to clipboard
class RouteLineData

Provides information needed to draw a route.

Link copied to clipboard
data class RouteLineDistancesIndex(val point: Point, val distanceRemaining: Double)
Link copied to clipboard
class RouteLineDynamicData

Provides information needed to draw a route.

Link copied to clipboard
class RouteLineError

Represents an error value for route line related updates.

Link copied to clipboard
fun interface RouteLineExpressionProvider

Represents a function that returns an Expression

Link copied to clipboard
class RouteLineResources

Contains colors an other values used to determine the appearance of the route line.

Link copied to clipboard
data class RouteLineScaleValue(    val scaleStop: Float,     val scaleMultiplier: Float,     val 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. See the Mapbox Map documentation for more information regarding Expressions.

Link copied to clipboard
fun interface RouteLineTrimExpressionProvider : RouteLineExpressionProvider

Represents a function that returns an Expression. The expression this provider is expected to produce is a lineTrimOffset expression. This is a specific type of expression that will make a line transparent between two values representing sections of a line.

Link copied to clipboard
value class RouteLineTrimOffset(val offset: Double)

Value for the offset at which the primary route line should change the appearance or vanish.

Link copied to clipboard
class RouteLineUpdateValue

Represents data for updating the appearance of the route lines.

Link copied to clipboard
class RouteNotFound

Indicates no route was found when searching the map for a route.

Link copied to clipboard
class RouteSetValue

Represents the side effects for drawing routes on a map.

Link copied to clipboard
data class RouteStyleDescriptor(    val routeIdentifier: String,     @ColorInt val lineColor: Int,     @ColorInt val lineCasingColor: Int)

This class is used for describing the route line color(s) at runtime.

Link copied to clipboard
enum VanishingPointState : Enum<VanishingPointState>

Describes the vanishing point update algorithm's state.

Functions

Link copied to clipboard
Link copied to clipboard