Package-level declarations

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 RoutePlan(val routes: List<Route>)

Represents a result of route planning.

Link copied to clipboard
data class RouteStyle(val activeLineColor: Color = DEFAULT_ACTIVE_LINE_COLOR, val alternativeLineColor: Color = DEFAULT_ALTERNATIVE_LINE_COLOR, val alternativeLineColorOverrule: Map<Int, Color> = 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)

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 markerVisibilityByCategory: Map<TrafficIncidentCategory, RouteTrafficIncidentStyle.MarkerVisibility> = DEFAULT_MARKER_VISIBILITY_BY_CATEGORY, val magnitudeOfDelayUnknown: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = DEFAULT_MAGNITUDE_OF_DELAY_UNKNOWN, val magnitudeOfDelayMinor: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = DEFAULT_MAGNITUDE_OF_DELAY_MINOR, val magnitudeOfDelayModerate: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = DEFAULT_MAGNITUDE_OF_DELAY_MODERATE, val magnitudeOfDelayMajor: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = DEFAULT_MAGNITUDE_OF_DELAY_MAJOR, val magnitudeOfDelayIndefinite: RouteTrafficIncidentStyle.PropertiesPerMagnitudeOfDelay = DEFAULT_MAGNITUDE_OF_DELAY_INDEFINITE)

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.

Link copied to clipboard

The category of the traffic incident.