Package-level declarations

Types

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

Represents an instruction arrow on a route.

Link copied to clipboard
class Route

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

Link copied to clipboard
fun interface RouteClickListener

Interface for notifying about the Route being clicked.

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
class RouteOptions(val geometry: List<GeoPoint>, @ColorInt val color: Int = 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 isFollowable: Boolean = false, val routeOffset: List<Distance> = emptyList(), val sections: List<RouteSection> = emptyList(), val departureMarkerPinImage: Image? = null, val destinationMarkerPinImage: Image? = null, val departure: GeoPoint? = null, val destination: GeoPoint? = null)

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

Link copied to clipboard
class RouteSection(val type: RouteSectionType, val indexRange: IntRange, val textureUri: Uri? = null)

Represent the Route section.

Link copied to clipboard

The type of a RouteSectionType.