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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/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 =
[]

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>>)


3156
3157
3158
3159
3160
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3156

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