Street
public struct Street : HorizonElement
Describes a street on the horizon element.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public let elementType: HorizonElementType
-
Declaration
Swift
public let id: Int
-
Declaration
Swift
public let pathID: Int
-
Declaration
Swift
public let startOffset: Measurement<UnitLength>
-
Declaration
Swift
public let endOffset: Measurement<UnitLength>
-
City district. Empty string if no city district is assigned to the part of the path.
Declaration
Swift
public let cityDistrict: String
-
City block. Empty string if no city block is assigned to the part of the path.
Declaration
Swift
public let cityBlock: String
-
Street name. Empty string if no street is assigned to the part of the path.
Declaration
Swift
public let name: String
-
Road numbers ordered by priority, from the highest to the lowest. Empty list if no road numbers are assigned to the part of the path.
Declaration
Swift
public let roadNumbers: [String]