TaxiOptions
public struct TaxiOptions : Hashable
All the options to specify how a taxi route should be calculated. See, TransportMode.taxi.
Note: Specify the optional Waypoint.sideOfStreetHint to indicate at which side of
the street a passenger wants to leave the taxi.
-
Specifies the common route calculation options.
Declaration
Swift
public var routeOptions: RouteOptions -
Customize textual content returned from the route calculation, such as localization, format, and unit system.
Declaration
Swift
public var textOptions: RouteTextOptions -
Options to specify restrictions for route calculations. By default no restrictions are applied.
Declaration
Swift
public var avoidanceOptions: AvoidanceOptions -
Options to specify how the tolls should be calculated, such as transponders, vehicle category, and emission type.
Declaration
Swift
public var tollOptions: TollOptions -
Specifies the last character of a vehicle’s license plate, typically used to evaluate traffic restrictions in certain environmental or low-emission zones. In cities like Bogotá, Mexico City, or Jakarta, specific license plate digits may be restricted on certain days or in certain areas to reduce congestion and emissions. When this value is provided, the HERE SDK considers it during route calculation to avoid roads or areas where your vehicle may be restricted based on local regulations. Example usage: “7”, when the license plate of a vehicle looks like “B-ET-182487”.
If this value is not set, such license plate-based restrictions are ignored, and routing is performed without considering them.
Declaration
Swift
public var lastCharacterOfLicensePlate: String? -
Segments with restriction on maximum
DynamicSpeedInfo.baseSpeedInMetersPerSecond.Declaration
Swift
public var maxSpeedOnSegments: [MaxSpeedOnSegment] -
Specifies if a vehicle is allowed to drive through the taxi-only roads and lanes. When set to
false, it is still allowed on taxi roads after the route start and before the route destination.Declaration
Swift
public var allowDriveThroughTaxiRoads: Bool -
Detailed car specifications such as dimensions and weight.
Declaration
Swift
public var carSpecifications: CarSpecifications -
Creates a new instance.
Declaration
Swift
public init() -
Creates a new instance.
Declaration
Swift
public init(routeOptions: RouteOptions, textOptions: RouteTextOptions, avoidanceOptions: AvoidanceOptions)