Package com.tomtom.sdk.addons.visualization.navigation

Types

Link copied to clipboard
enum GuidanceType : Enum<GuidanceType>

The type of navigation guidance.

Link copied to clipboard
interface NavigationVisualization

Entry point for all methods related to the navigation visualization add-on.

Link copied to clipboard
interface NavigationVisualizationFactory

Responsible for creating instances of NavigationVisualization.

Link copied to clipboard
data class RoutePlan(val routes: List<Route>)

Represents a result of route planning.

Link copied to clipboard
data class RouteStyle(    val activeLineColor: Color = DEFAULT_ACTIVE_ROUTE_LINE_COLOR,     val alternativeLineColor: Color = DEFAULT_ALTERNATIVE_ROUTES_LINE_COLOR,     val alternativeLineColorOverrule: Map<Int, Color> = emptyMap(),     val activeLineWidths: List<WidthByZoom> = DEFAULT_LINE_WIDTHS_BY_ZOOM_LEVELS,     val alternativeLineWidths: List<WidthByZoom> = activeLineWidths,     val activeOutlineWidths: List<WidthByZoom> = DEFAULT_OUTLINE_WIDTHS_BY_ZOOM_LEVELS,     val alternativeOutlineWidths: List<WidthByZoom> = activeOutlineWidths)

Represents a style configuration for the routes.

Link copied to clipboard
data 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 magnitudeOfDelayUnknown: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = PropertiesPerMagnitudeOfDelay( lineColor = DEFAULT_UNKNOWN_LINE_COLOR, lineOutlineColor = DEFAULT_UNKNOWN_LINE_OUTLINE_COLOR, markerLabelTextColor = DEFAULT_UNKNOWN_MARKER_LABEL_COLOR, markerLabelTextOutlineColor = DEFAULT_UNKNOWN_MARKER_LABEL_OUTLINE_COLOR, ),     val magnitudeOfDelayMinor: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = PropertiesPerMagnitudeOfDelay( lineColor = DEFAULT_MINOR_LINE_COLOR, lineOutlineColor = DEFAULT_MINOR_LINE_OUTLINE_COLOR, markerLabelTextColor = DEFAULT_MINOR_MARKER_LABEL_COLOR, markerLabelTextOutlineColor = DEFAULT_MINOR_MARKER_LABEL_OUTLINE_COLOR, ),     val magnitudeOfDelayModerate: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = PropertiesPerMagnitudeOfDelay( lineColor = DEFAULT_MODERATE_LINE_COLOR, lineOutlineColor = DEFAULT_MODERATE_LINE_OUTLINE_COLOR, markerLabelTextColor = DEFAULT_MODERATE_MARKER_LABEL_COLOR, markerLabelTextOutlineColor = DEFAULT_MODERATE_MARKER_LABEL_OUTLINE_COLOR, ),     val magnitudeOfDelayMajor: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = PropertiesPerMagnitudeOfDelay( lineColor = DEFAULT_MAJOR_LINE_COLOR, lineOutlineColor = DEFAULT_MAJOR_LINE_OUTLINE_COLOR, markerLabelTextColor = DEFAULT_MAJOR_MARKER_LABEL_COLOR, markerLabelTextOutlineColor = DEFAULT_MAJOR_MARKER_LABEL_OUTLINE_COLOR, ),     val magnitudeOfDelayIndefinite: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = PropertiesPerMagnitudeOfDelay( lineColor = DEFAULT_INDEFINITE_LINE_COLOR, lineOutlineColor = DEFAULT_INDEFINITE_LINE_OUTLINE_COLOR, markerLabelTextColor = DEFAULT_INDEFINITE_MARKER_LABEL_COLOR, markerLabelTextOutlineColor = DEFAULT_INDEFINITE_MARKER_LABEL_OUTLINE_COLOR, ))

Style configuration for on-route traffic incidents.

Link copied to clipboard
data class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle())

Represents a style configuration for the elements of the navigation visualization.

Link copied to clipboard
data class TrafficIncident

Represents a traffic incident.