Package com.tomtom.sdk.addons.visualization.navigation
Types
Link copied to clipboard
The type of navigation guidance.
Link copied to clipboard
Entry point for all methods related to the navigation visualization add-on.
Link copied to clipboard
Responsible for creating instances of NavigationVisualization
.
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)
Content copied to clipboard
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,
))
Content copied to clipboard
Style configuration for on-route traffic incidents.
Link copied to clipboard
data class StyleConfiguration(val route: RouteStyle = RouteStyle(), val routeTrafficIncident: RouteTrafficIncidentStyle = RouteTrafficIncidentStyle())
Content copied to clipboard
Represents a style configuration for the elements of the navigation visualization.
Link copied to clipboard
Represents a traffic incident.