AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.LocationService.Model.LegGeometry

Namespace: Amazon.LocationService.Model
Assembly: AWSSDK.LocationService.dll
Version: 3.x.y.z

Syntax

C#
public class LegGeometry

The LegGeometry type exposes the following members

Constructors

NameDescription
Public Method LegGeometry()

Properties

NameTypeDescription
Public Property LineString System.Collections.Generic.List<System.Collections.Generic.List<System.Double>>

Gets and sets the property LineString.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5