Package-level declarations

Types

Link copied to clipboard
class Instruction(val routeOffset: Distance = Distance.ZERO, val length: Distance = Distance.meters(DEFAULT_MANEUVER_LENGTH), val combineWithNext: Boolean = false)

Represents an instruction arrow on a route.

Link copied to clipboard
fun interface OnRouteClickListener

Interface for notifying about the Route being clicked.

Link copied to clipboard
class Route

A Route representation which can be added and displayed on the map.

Link copied to clipboard
interface RouteController

Controls Route-specific features on the map. Allows Route management and the user interactions with the Route.

Link copied to clipboard

Exception thrown when a Route with the given routeId cannot be found on the map.

Link copied to clipboard
data class RouteOptions(val geometry: List<GeoPoint>, val color: Color = DEFAULT_COLOR, @FloatRange(from = 0.0) val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, val widths: List<WidthByZoom> = DEFAULT_WIDTHS, val visible: Boolean = true, val progress: Distance = Distance.ZERO, val instructions: List<Instruction> = emptyList(), val tag: String? = null, val departureMarkerVisible: Boolean = false, val destinationMarkerVisible: Boolean = false, val followable: Boolean = false, val routeOffset: List<Distance> = emptyList())

Configures options for a Route representation which can be added and displayed on the map. See TomTomMap.addRoute(routeOptions: RouteOptions).