Pedestrian
public struct Pedestrian : Vehicle, InternalConformanceLocked
A pedestrian.
Note
This option is not supported when chargingOptions are set inRoutePlanningOptions
.
Note
This option is not yet supported with the Orbis map.-
Creates pedestrian.
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed)
Parameters
maxSpeed
Specifies the max speed of the pedestrian. Pedestrian always moves at this set maximum speed.
-
Specifies pedestrian default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed>
-
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>?
-
Specifies the vehicle type.
Declaration
Swift
public let type: VehicleType