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

Copy Markdown

Specifies the time or distance limits used to calculate reachable areas. You can provide up to five thresholds for a single type to generate multiple isolines in a single request. For example, you might request areas reachable within 5, 10, and 15 minutes, or within 1, 2, and 5 kilometers.

Fields

  • :distance - List of travel distances in meters. For example, [1000, 2000, 5000] would calculate areas reachable within 1, 2, and 5 kilometers.

  • :time - List of travel times in seconds. For example, [300, 600, 900] would calculate areas reachable within 5, 10, and 15 minutes.

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

Summary

Types

t()

@type t() :: %ExAws.Location.Routes.IsolineThresholds{
  distance: [integer()] | nil,
  time: [integer()] | nil
}