StreetInfo

public struct StreetInfo : Hashable

Street name details.

  • Base name part of the street name. For example:

    • Saale of Saalestraße
    • Mariacka of ulica Mariacka
    • 20th of 20th Avenue
    • Ffordd Pen Llech of Ffordd Pen Llech

    Declaration

    Swift

    public var baseName: String
  • Street type untranslated (not localized) part of the street name For example:

    • straße of Saalestraße
    • ulica of ulica Mariacka
    • Avenue of 20th Avenue
    • empty of Ffordd Pen Llech

    Declaration

    Swift

    public var streetType: String
  • Defines if the street type is before or after the base name. For example:

    • false for Saalestraße
    • true for ulica Mariacka
    • false for 20th Avenue
    • false for Ffordd Pen Llech

    Declaration

    Swift

    public var streetTypePrecedes: Bool
  • Defines if the street type is attached or unattached to the base name. Meaning if it is a separate word or combined with the base name. For example:

    • true for Saalestraße
    • false for ulica Mariacka
    • false for 20th Avenue
    • false for Ffordd Pen Llech

    Declaration

    Swift

    public var streetTypeAttached: Bool
  • BCP 47 compliant language code.

    Declaration

    Swift

    public var language: String
  • Creates a new instance.

    Declaration

    Swift

    public init(baseName: String = "", streetType: String = "", streetTypePrecedes: Bool = false, streetTypeAttached: Bool = false, language: String = "")