Class: Aws::GeoRoutes::Types::RouteLegGeometry

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

Overview

The returned Route leg geometry.

Constant Summary collapse

SENSITIVE =
[:line_string, :polyline]

Instance Attribute Summary collapse

Instance Attribute Details

#line_stringArray<Array<Float>>

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

<note markdown=“1”> LineString and Polyline are mutually exclusive properties.

</note>

Returns:

  • (Array<Array<Float>>)


2797
2798
2799
2800
2801
2802
# File 'lib/aws-sdk-georoutes/types.rb', line 2797

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

#polylineString

An ordered list of positions used to plot a route on a map in a lossy compression format.

<note markdown=“1”> LineString and Polyline are mutually exclusive properties.

</note>

Returns:

  • (String)


2797
2798
2799
2800
2801
2802
# File 'lib/aws-sdk-georoutes/types.rb', line 2797

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