Package-level declarations
Types
Link copied to clipboard
class DestinationConnectionLineStyle(val linePatternTexture: Image = DEFAULT_LINE_PATTERN_TEXTURE, val patternWidth: Double = DEFAULT_PATTERN_WIDTH, val outlineColor: Int = DEFAULT_OUTLINE_COLOR)
Represents a style configuration for the line between the final destination point and the final navigable point.
Link copied to clipboard
class RouteStyle(@ColorInt val activeLineColor: Int = DEFAULT_ACTIVE_LINE_COLOR, @ColorInt val alternativeLineColor: Int = DEFAULT_ALTERNATIVE_LINE_COLOR, val alternativeLineColorOverrule: Map<Int, Int> = emptyMap(), val activeLineWidths: List<WidthByZoom> = DEFAULT_ACTIVE_LINE_WIDTHS, val alternativeLineWidths: List<WidthByZoom> = DEFAULT_ALTERNATIVE_LINE_WIDTHS, val activeOutlineWidths: List<WidthByZoom> = DEFAULT_ACTIVE_OUTLINE_WIDTHS, val alternativeOutlineWidths: List<WidthByZoom> = DEFAULT_ALTERNATIVE_OUTLINE_WIDTHS, val waypointMarkerImage: Image = ImageFactory.fromResource(DEFAULT_WAYPOINT_MARKER_IMAGE), val departureMarkerImage: Image? = null, val destinationMarkerImage: Image? = ImageFactory.fromResource(DEFAULT_DESTINATION_MARKER_IMAGE), val areWaypointsVisible: Boolean = DEFAULT_WAYPOINTS_VISIBILITY)
Represents a style configuration for the routes.
Link copied to clipboard
class RouteTrafficIncidentStyle(val lineWidths: List<WidthByZoom> = DEFAULT_LINE_WIDTHS, val lineOutlineWidths: List<WidthByZoom> = DEFAULT_LINE_OUTLINE_WIDTHS, val lineStartCapType: CapType = DEFAULT_LINE_START_CAP_TYPE, val lineEndCapType: CapType = DEFAULT_LINE_END_CAP_TYPE, val markerLabelFontUri: String = DEFAULT_MARKER_LABEL_FONT_URI, val markerLabelTextSize: Double = DEFAULT_MARKER_LABEL_TEXT_SIZE, val markerLabelTextOutlineWidth: Double = DEFAULT_MARKER_LABEL_TEXT_OUTLINE_WIDTH, val markerLabelTextOffset: PointF = DEFAULT_MARKER_LABEL_OFFSET, val markerLabelTextAnchoring: TextAnchoring = DEFAULT_MARKER_LABEL_ANCHORING, val markerVisibilityByCategory: Map<TrafficIncidentCategory, RouteTrafficIncidentStyle.MarkerVisibility> = DEFAULT_MARKER_VISIBILITY_BY_CATEGORY, val propertiesByMagnitudeOfDelay: Map<RouteTrafficIncidentStyle.MagnitudeOfDelayKey, RouteTrafficIncidentStyle.MagnitudeOfDelayProperties> = DEFAULT_PROPERTIES_BY_MAGNITUDE_OF_DELAY)
Style configuration for on-route traffic incidents.
Link copied to clipboard
interface RoutingVisualization
Entry point for all methods related to the routing visualization.
Link copied to clipboard
interface RoutingVisualizationFactory
Responsible for creating instances of RoutingVisualization.
Link copied to clipboard
class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle(), val destinationConnectionLineStyle: DestinationConnectionLineStyle = DestinationConnectionLineStyle())
Represents a style configuration for the elements of the navigation visualization.
Link copied to clipboard
class TomTomRoutingVisualization(tomtomMap: TomTomMap, styleConfiguration: StyleConfiguration) : RoutingVisualization
Link copied to clipboard
class TrafficIncident
Represents a traffic incident.
Link copied to clipboard
The category of the traffic incident.