RoadInformation
public struct RoadInformation
extension RoadInformation: Equatable
Road information at a given point on a Route.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init( roadName: TextWithPhonetics, roadNumbers: [TextWithPhonetics], roadNumberShields: [RoadShield], roadTypes: Set<RoadType> = Set<RoadType>() )Parameters
roadNameName of the road.
roadNumbersRoad numbers.
roadShieldsRoad shields.
isUrbanAreaindicates if the road is in urban area.
isControlledAccessindicates if the road is controlled access road.
isMotorwayindicates if the road is a motorway.
-
Text content of the road name.
Declaration
Swift
public let roadName: TextWithPhonetics -
The road numbers.
Declaration
Swift
public let roadNumbers: [TextWithPhonetics] -
The road numbers, contain detailed information about road shields.
Declaration
Swift
public let roadNumberShields: [RoadShield] -
Indicates a road types.
Declaration
Swift
public let roadTypes: Set<RoadType>
RoadInformation Structure Reference