NavigationViewOptions
Navigator interface settings.
public init(
mapControlsBehaviour: NavigationViewMapControlsBehaviour = .visibleWhenNavigationActive,
distanceFormattingStrategy: DistanceFormattingStrategy = .default,
durationFormattingStrategy: DurationFormattingStrategy = .default,
durationValueFormattingStrategy: DurationValueFormattingStrategy = .default,
timeFormattingStrategy: TimeFormattingStrategy = .default,
speedFormattingStrategy: SpeedFormattingStrategy = .default,
theme: NavigationViewTheme = .default,
roadEventCardViewOptions: RoadEventCardViewOptions = .default,
roadEventCreationEnabled: Bool = true
)
Settings constructor.
Parameters
mapControlsBehaviour
NavigationViewMapControlsBehaviour
Behavior of the camera controllers in navigation mode.
distanceFormattingStrategy
DistanceFormattingStrategy
Way of formatting distances.
durationFormattingStrategy
DurationFormattingStrategy
Way to format the time interval.
durationValueFormattingStrategy
DurationValueFormattingStrategy
Formats the time interval value.
timeFormattingStrategy
TimeFormattingStrategy
Formats date/time.
speedFormattingStrategy
SpeedFormattingStrategy
Formats speed.
theme
NavigationViewTheme
Navigator theme.
roadEventCardViewOptions
RoadEventCardViewOptions
Traffic event card settings.
roadEventCreationEnabled
Bool
Whether a traffic event creation controller is needed.