Bicycle
public struct Bicycle : Vehicle, InternalConformanceLocked
A vehicle of type bicycle.
Note
This option is not yet supported with the Orbis map.Specifies bicycle default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed>
Creates bicycle.
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed)
Parameters
maxSpeed
|
Specifies the max speed of the bicycle. Default value: |
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>?
Specifies the vehicle type.
Declaration
Swift
public let type: VehicleType