AWSLocationLegGeometry

Objective-C

@interface AWSLocationLegGeometry

Swift

class AWSLocationLegGeometry

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

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSArray<NSNumber *> *> *_Nullable lineString;

    Swift

    var lineString: [[NSNumber]]? { get set }