Bicycle
public struct Bicycle : Vehicle, InternalConformanceLocked
A vehicle of type bicycle.
Note
This option is not yet supported with the Orbis map.-
Creates bicycle.
Declaration
Swift
public init(maxSpeed: Measurement<UnitSpeed>? = defaultMaxSpeed)Parameters
maxSpeedSpecifies the max speed of the bicycle. Default value:
defaultMaxSpeed. Bicycle always moves at this set maximum speed.
-
Specifies bicycle 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
TomTom SDK for iOS (0.53.1)
Bicycle