Package com.tomtom.sdk.maps.display.route
Types
Link copied to clipboard
class Instruction( val routeOffset: Distance = Distance.ZERO, val length: Distance = Distance.ofMeters(DEFAULT_MANEUVER_LENGTH), val combineWithNext: Boolean = false, val startPointIndex: Int = 0)
Content copied to clipboard
Represents an instruction arrow on a route.
Link copied to clipboard
Interface for notifying about the Route being clicked.
Link copied to clipboard
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<GeoCoordinate>, val color: Color = DEFAULT_COLOR, val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, val widths: List<WidthByZoom> = DEFAULT_WIDTHS_BY_ZOOM_LEVELS, 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)
Content copied to clipboard
Configures options for a Route representation which can be added and displayed on the map. See TomTomMap.addRoute(routeOptions: RouteOptions).
Link copied to clipboard
data class WidthByZoom(val width: Double, val zoom: Double = DEFAULT_ZOOM_LEVEL)
Content copied to clipboard
Represents a pair of width for the given zoom level.