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 MapboxRouteLineApiOptions

Options for configuration of MapboxRouteLineApi.

Link copied to clipboard
class MapboxRouteLineViewDynamicOptionsBuilder

Class that allows you to modify a subset of MapboxRouteLineViewOptions at runtime and set it via MapboxRouteLineView.updateDynamicOptions without recreating the instance. Note that just updating the options in MapboxRouteLineView will not re-render the route line. In order to do that, invoke:

A convenience typealias for a lambda acting on a MapboxRouteLineViewDynamicOptionsBuilder.

Link copied to clipboard
class MapboxRouteLineViewOptions

Options for configuration of MapboxRouteLineView.

Link copied to clipboard
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
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 RouteLineDistancesIndex(val point: Point, val distanceRemaining: Double)
Link copied to clipboard
class RouteLineError

Represents an error value for route line related updates.

Link copied to clipboard
class RouteLineScaleExpressions

A class containing information about custom scaling expressions.

Link copied to clipboard
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
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
enum VanishingPointState : Enum<VanishingPointState>

Describes the vanishing point update algorithm's state.