Builder
Properties
The name of the route calculator resource that you want to use to calculate the route matrix.
Specifies route preferences when traveling by Car
, such as avoiding routes that use ferries or tolls.
The list of departure (origin) positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]
. For example, [-123.115, 49.285]
.
Specifies the desired time of departure. Uses the given time to calculate the route matrix. You can't set both DepartureTime
and DepartNow
. If neither is set, the best time of day to travel with the best traffic conditions is used to calculate the route matrix.
The list of destination positions for the route matrix. An array of points, each of which is itself a 2-value array defined in WGS 84 format: [longitude, latitude]
. For example, [-122.339, 47.615]
Set the unit system to specify the distance.
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility.
Specifies route preferences when traveling by Truck
, such as avoiding routes that use ferries or tolls, and truck specifications to consider when choosing an optimal road.
Functions
construct an aws.sdk.kotlin.services.location.model.CalculateRouteCarModeOptions inside the given block
construct an aws.sdk.kotlin.services.location.model.CalculateRouteTruckModeOptions inside the given block