RealisticViewWarningOptions
public struct RealisticViewWarningOptions : Hashable
Realistic view warning options. Set the options for filtering the realistic view notifications and setting the realistic view notification distances based on the road type.
-
The aspect ratio of the images which will be given in the realistic view warning. This option is applicable only to the
RealisticViewWarning.realisticViewVectorImage. ForRealisticViewWarning.realisticViewRasterImagethe aspect ratio is always portrait.Declaration
Swift
public var aspectRatio: AspectRatio -
Specifies whether the images included in the realistic view warning will be optimized for the light or dark color scheme. This option is applicable only to the
RealisticViewWarning.realisticViewVectorImage. ForRealisticViewWarning.realisticViewRasterImagethe dark theme is alwaysfalse.Declaration
Swift
public var darkTheme: Bool -
Creates a new instance.
Declaration
Swift
public init(aspectRatio: AspectRatio = AspectRatio.aspectRatio3X4, darkTheme: Bool = false)