TransportProfile
public struct TransportProfile : Hashable
Contains values of transport profile. This is a BETA feature and thus there can be bugs and unexpected behavior.
-
Defines the pedestrian profile.
Declaration
Swift
public var pedestrianProfile: PedestrianProfile -
Defines the vehicle profile.
Declaration
Swift
public var vehicleProfile: VehicleProfile? -
Creates a new instance.
Declaration
Swift
public init(pedestrianProfile: PedestrianProfile = PedestrianProfile(), vehicleProfile: VehicleProfile? = VehicleProfile(vehicleType: VehicleType.car))