Bicycle
public struct Bicycle : Vehicle
A vehicle of type bicycle.
Note
This option is not yet supported with the Orbis map.Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates bicycle.
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed, numberOfAxles: Int? = nil)Parameters
maxSpeedSpecifies the max speed of the bicycle. Default value:
defaultMaxSpeed.numberOfAxlesSpecifies the number of vehicle axles.
-
Specifies bicycle default max speed.
Declaration
Swift
public static let defaultMaxSpeed: Measurement<UnitSpeed> -
Specifies the number of vehicle axles.
Declaration
Swift
public let numberOfAxles: Int? -
Specifies the max speed of the vehicle.
Declaration
Swift
public let maxSpeed: Measurement<UnitSpeed>? -
Specifies the vehicle type for the specified route.
Declaration
Swift
public let type: VehicleType
Bicycle Structure Reference