Class YMKPolylinePosition

The position on a polyline.

Class Methods

Properties

segmentIndex

Zero-based index of the polyline segment.

segmentPosition

Position in the specified segment.

Method Detail

+polylinePositionWithSegmentIndex:segmentPosition:

+ (nonnull YMKPolylinePosition *)polylinePositionWithSegmentIndex:(NSUInteger)segmentIndex
                                                  segmentPosition:(double)segmentPosition 

Property Detail

segmentIndex

(assign, readonly) NSUInteger segmentIndex

Zero-based index of the polyline segment.

segmentPosition

(assign, readonly) double segmentPosition

Position in the specified segment.

Possible values: from 0 to 1, where 0 is the start of the segment and 1 is the end of it.