MMKPolylinePosition
@interface MMKPolylinePosition : NSObject |
The position on a polyline.
Summary
Class methods
+ (nonnull MMKPolylinePosition *)polylinePositionWithSegmentIndex:( NSUInteger)segmentIndex |
Properties
@property (nonatomic, readonly) NSUInteger segmentIndex; |
@property (nonatomic, readonly) double segmentPosition; |
Class methods
polylinePositionWithSegmentIndex:segmentPosition:
+ (nonnull MMKPolylinePosition *)polylinePositionWithSegmentIndex:( NSUInteger)segmentIndex |
Properties
segmentIndex
@property (nonatomic, readonly) NSUInteger segmentIndex; |
Zero-based index of the polyline segment.
segmentPosition
@property (nonatomic, 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.