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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-georoutes/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.

LineString and Polyline are mutually exclusive properties.

Returns:

  • (Array<Array<Float>>)


2797
2798
2799
2800
2801
2802
# File 'gems/aws-sdk-georoutes/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.

LineString and Polyline are mutually exclusive properties.

Returns:

  • (String)


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

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