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(@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 waypointMarkerPin: Image = ImageFactory.fromResource(DEFAULT_WAYPOINT_MARKER_PIN), val waypointMarkerIcon: Image = ImageFactory.fromResource(DEFAULT_WAYPOINT_MARKER_ICON), val departureMarkerVisible: Boolean = DEFAULT_DEPARTURE_MARKER_VISIBLE, val destinationMarkerVisible: Boolean = DEFAULT_DESTINATION_MARKER_VISIBLE, val departureMarkerPin: Image = ImageFactory.fromResource(DEFAULT_DEPARTURE_MARKER_PIN), val destinationMarkerPin: Image = ImageFactory.fromResource(DEFAULT_DESTINATION_MARKER_PIN))

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 propertiesByMagnitudeOfDelay: Map<RouteTrafficIncidentStyle.MagnitudeOfDelayKey, RouteTrafficIncidentStyle.PropertiesByMagnitudeOfDelay> = DEFAULT_PROPERTIES_BY_MAGNITUDE_OF_DELAY)

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.