Class YMKDrivingSectionMetadata

Information about section metadata.

Class Methods

Properties

annotation

Section annotations.

legIndex

A leg is a section of the route between two consecutive waypoints.

schemeId

The ID of the annotation scheme.

viaPointPositions

Via points (throughpoints) can appear only at nodes of the section's geometry.

weight

The "weight" of the section.

Method Detail

+sectionMetadataWithLegIndex:weight:annotation:schemeId:viaPointPositions:

+ (nonnull YMKDrivingSectionMetadata *)sectionMetadataWithLegIndex:(NSUInteger)legIndex
                                                            weight:(nonnull YMKDrivingWeight *)weight
                                                        annotation:(nonnull YMKDrivingAnnotation *)annotation
                                                          schemeId:(nullable NSNumber *)schemeId
                                                 viaPointPositions:(nonnull NSArray< NSNumber * > *)viaPointPositions 

Property Detail

annotation

(assign, readonly) YMKDrivingAnnotation * annotation

Section annotations.

legIndex

(assign, readonly) NSUInteger legIndex

A leg is a section of the route between two consecutive waypoints.

schemeId

(assign, readonly) NSNumber * schemeId

The ID of the annotation scheme.

Optional property, can be null.

viaPointPositions

(assign, readonly) 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.

weight

(assign, readonly) YMKDrivingWeight * weight

The "weight" of the section.