ExAws.Location.Routes.RouteWaypoint (ex_aws_location v0.1.0)

Copy Markdown

Waypoint between the Origin and Destination.

Fields

  • :avoid_actions_for_distance - Avoids actions for the provided distance. This is typically to consider for users in moving vehicles who may not have sufficient time to make an action at an origin or a destination. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :avoid_u_turns - Avoid U-turns for calculation on highways and motorways. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :heading - GPS Heading at the position. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :matching - Options to configure matching the provided position to the road network. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :pass_through - If the waypoint should not be treated as a stop. If yes, the waypoint is passed through and doesn't split the route into different legs. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :position - (required) Position in World Geodetic System (WGS 84) format: [longitude, latitude].

  • :side_of_street - Options to configure matching the provided position to a side of the street. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

  • :stop_duration - Duration of the stop. Not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers.

See https://docs.aws.amazon.com/location/latest/APIReference/API_RouteWaypoint.html

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.RouteWaypoint{
  avoid_actions_for_distance: integer() | nil,
  avoid_u_turns: boolean() | nil,
  heading: number() | nil,
  matching: ExAws.Location.Routes.RouteMatchingOptions.t() | nil,
  pass_through: boolean() | nil,
  position: [number()],
  side_of_street: ExAws.Location.Routes.RouteSideOfStreetOptions.t() | nil,
  stop_duration: integer() | nil
}