Class: Aws::LocationService::Types::LegGeometry

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

Contains the geometry details for each path between a pair of positions. Used in plotting a route leg on a map.

Constant Summary collapse

SENSITIVE =
[:line_string]

Instance Attribute Summary collapse

Instance Attribute Details

#line_stringArray<Array<Float>>

An ordered list of positions used to plot a route on a map.

The first position is closest to the start position for the leg, and the last position is the closest to the end position for the leg.

  • For example, ‘[[-123.117, 49.284],[-123.115, 49.285],[-123.115, 49.285]]`

^

Returns:

  • (Array<Array<Float>>)


3957
3958
3959
3960
3961
# File 'lib/aws-sdk-locationservice/types.rb', line 3957

class LegGeometry < Struct.new(
  :line_string)
  SENSITIVE = [:line_string]
  include Aws::Structure
end