MMKDrivingSectionMetadata
Warning
This feature is available in the Full MapKit SDK version
|
@interface MMKDrivingSectionMetadata : NSObject |
Information about section metadata.
Summary
Class methods
|
+ (nonnull MMKDrivingSectionMetadata *)sectionMetadataWithLegIndex:( NSUInteger)legIndex |
Properties
|
@property (nonatomic, readonly) NSUInteger legIndex; |
|
@property (nonatomic, readonly, nonnull) MMKDrivingWeight *weight; |
|
@property (nonatomic, readonly, nonnull) MMKDrivingAnnotation *annotation; |
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *viaPointPositions; |
Class methods
sectionMetadataWithLegIndex:weight:annotation:viaPointPositions:
|
+ (nonnull MMKDrivingSectionMetadata *)sectionMetadataWithLegIndex:( NSUInteger)legIndex |
Properties
legIndex
|
@property (nonatomic, readonly) NSUInteger legIndex; |
A leg is a section of the route between two consecutive waypoints.
weight
|
@property (nonatomic, readonly, nonnull) MMKDrivingWeight *weight; |
The "weight" of the section.
annotation
|
@property (nonatomic, readonly, nonnull) MMKDrivingAnnotation *annotation; |
Section annotation.
viaPointPositions
|
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *viaPointPositions; |
Via points (throughpoints) can appear only at nodes of the section's geometry. The vector contains the positions of all corresponding nodes. These positions should be listed in ascending order.