RouteLegGeometry - Amazon Location Service

RouteLegGeometry

The returned Route leg geometry.

Contents

LineString

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

Note

LineString and Polyline are mutually exclusive properties.

Type: Array of arrays of doubles

Array Members: Minimum number of 2 items.

Array Members: Fixed number of 2 items.

Required: No

Polyline

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

Note

LineString and Polyline are mutually exclusive properties.

Type: String

Length Constraints: Minimum length of 1.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: