Важно

This feature is available in the Full MapKit SDK version

YMKDrivingSectionMetadata

class YMKDrivingSectionMetadata : NSObject

Information about section metadata.

Summary

Class methods

 init(legIndex: UInt,
        weight: YMKDrivingWeight,
    annotation: YMKDrivingAnnotation,
 viaPointPositions: [NSNumber])

Properties

var legIndex: UInt { get }
A leg is a section of the route between two consecutive waypoints

var weightYMKDrivingWeight { get }
The "weight" of the section

var annotationYMKDrivingAnnotation { get }
Section annotation

var viaPointPositions: [NSNumber] { get }
Via points (throughpoints) can appear only at nodes of the section's geometry

Class methods

init(legIndex:weight:annotation:viaPointPositions:)

 init(legIndex: UInt,
        weight: YMKDrivingWeight,
    annotation: YMKDrivingAnnotation,
 viaPointPositions: [NSNumber])


Properties

legIndex

var legIndex: UInt { get }

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


weight

var weight: YMKDrivingWeight { get }

The "weight" of the section.


annotation

var annotation: YMKDrivingAnnotation { get }

Section annotation.


viaPointPositions

var viaPointPositions: [NSNumber] { get }

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.


Предыдущая
Следующая