

# LegGeometry


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

## Contents


 ** LineString **   <a name="location-Type-LegGeometry-LineString"></a>
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]]` 
Type: Array of arrays of doubles  
Array Members: Minimum number of 2 items.  
Array Members: Fixed number of 2 items.  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/location-2020-11-19/LegGeometry) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/location-2020-11-19/LegGeometry) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/location-2020-11-19/LegGeometry) 