Builder
Properties
Specifies the desired time of arrival. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.
The name of the route calculator resource that you want to use to calculate the route.
Specifies route preferences when traveling by Car
, such as avoiding routes that use ferries or tolls.
The start position for the route. Defined in World Geodetic System (WGS 84) format: [longitude, latitude]
.
Specifies the desired time of departure. Uses the given time to calculate the route. Otherwise, the best time of day to travel with the best traffic conditions is used to calculate the route.
The finish position for the route. Defined in World Geodetic System (WGS 84) format: [longitude, latitude]
.
Set the unit system to specify the distance.
Set to include the geometry details in the result for each path between a pair of positions.
Specifies the distance to optimize for when calculating a route.
Specifies the mode of transport when calculating a route. Used in estimating the speed of travel and road compatibility. You can choose Car
, Truck
, Walking
, Bicycle
or Motorcycle
as options for the TravelMode
.
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.
Specifies an ordered list of up to 23 intermediate positions to include along a route between the departure position and destination position.
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