YMKPolylinePosition

class YMKPolylinePosition : NSObject

The position on a polyline.

Summary

Class methods

 init(segmentIndex: UInt, segmentPosition: Double)

Properties

var segmentIndex: UInt { get }
Zero-based index of the polyline segment

var segmentPosition: Double { get }
Position in the specified segment

Class methods

init(segmentIndex:segmentPosition:)

 init(segmentIndex: UInt, segmentPosition: Double)


Properties

segmentIndex

var segmentIndex: UInt { get }

Zero-based index of the polyline segment.


segmentPosition

var segmentPosition: Double { get }

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.