AWSLocationTruckDimensions
Objective-C
@interface AWSLocationTruckDimensions
Swift
class AWSLocationTruckDimensions
Contains details about the truck dimensions in the unit of measurement that you specify. Used to filter out roads that can’t support or allow the specified dimensions for requests that specify TravelMode
as Truck
.
-
The height of the truck.
For example,
4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable height;
Swift
var height: NSNumber? { get set }
-
The length of the truck.
For example,
15.5
.
For routes calculated with a HERE resource, this value must be between 0 and 300 meters.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable length;
Swift
var length: NSNumber? { get set }
-
Specifies the unit of measurement for the truck dimensions.
Default Value:
Meters
Declaration
Objective-C
@property (nonatomic) AWSLocationDimensionUnit unit;
Swift
var unit: AWSLocationDimensionUnit { get set }
-
The width of the truck.
For example,
4.5
.
For routes calculated with a HERE resource, this value must be between 0 and 50 meters.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable width;
Swift
var width: NSNumber? { get set }