BorderCrossingWarningOptions
public struct BorderCrossingWarningOptions : Hashable
Border crossing warning options.
-
If set to
true, all the state border crossing notifications will not be given. If the value isfalse, all border crossing notifications will be given for both country borders and state borders. By default, theBorderCrossingWarningOptions.filterOutStateBorderWarningsis set totrue.Declaration
Swift
public var filterOutStateBorderWarnings: Bool -
If set to
true, commercial vehicle regulations data will be included in border crossing warnings when available. If set tofalse, the commercial vehicle regulations field will be stripped from warnings even if the data is available in the map. By default, this is set tofalse. This is useful for commercial vehicles that need CVR information - they should explicitly enable it.Declaration
Swift
public var includeCommercialVehicleRegulations: Bool -
Creates a new instance.
Declaration
Swift
public init(filterOutStateBorderWarnings: Bool = true, includeCommercialVehicleRegulations: Bool = false)