INavigationViewsFactory
Factory of SwiftUI elements to add to the map.
Methods
func makeFinishRouteDashboardView(
map: Map,
uiModel: Model
) -> AnyView
SwiftUI control with information about the end of the route.
Parameters
func makeNextManeuverView(
uiModel: Model
) -> AnyView
SwiftUI control with information about the next maneuver and the additional one.
Parameters
func makeRemainingRouteInfoView(
navigationManager: NavigationManager
) -> AnyView
SwiftUI control with information about the remaining distance and estimated time of arrival/remaining travel time.
Parameters
func makeSpeedView(
uiModel: Model
) -> AnyView
SwiftUI control with information about the current speed, the speed limit on the current section of the route, and the warning of passing the camera coverage area.
Parameters
func makeThermometerView(
uiModel: Model, isLeftSide: Bool
) -> AnyView
SwiftUI control for displaying vehicle speeds and traffic events on the route.
Parameters
func makeMessageBarView(
uiModel: Model,
onVisibilityChanged: @escaping (Bool) -> Void
) -> AnyView
SwiftUI element for displaying error messages during route building.
Parameters
func makeBetterRouteView(
uiModel: Model,
onVisibilityChanged: @escaping (Bool) -> Void
) -> AnyView
Parameters