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

Copy Markdown

Options related to route matching.

Fields

  • :name_hint - Attempts to match the provided position to a road similar to the provided name.

  • :on_road_threshold - If the distance to a highway/bridge/tunnel/sliproad is within threshold, the waypoint will be snapped to the highway/bridge/tunnel/sliproad.

  • :radius - Considers all roads within the provided radius to match the provided destination to. The roads that are considered are determined by the provided Strategy.

  • :strategy - Strategy that defines matching of the position onto the road network. MatchAny considers all roads possible, whereas MatchMostSignificantRoad matches to the most significant road. Valid values: MatchAny, MatchMostSignificantRoad.

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

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.RouteMatchingOptions{
  name_hint: String.t() | nil,
  on_road_threshold: integer() | nil,
  radius: integer() | nil,
  strategy: String.t() | nil
}