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 is false, all border crossing notifications will be given for both country borders and state borders. By default, the BorderCrossingWarningOptions.filterOutStateBorderWarnings is set to true.

    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 to false, the commercial vehicle regulations field will be stripped from warnings even if the data is available in the map. By default, this is set to false. 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)