Warning
This feature is available in the Full MapKit SDK version
MMKDrivingSectionMetadata
class MMKDrivingSectionMetadata : NSObject |
Information about section metadata.
Summary
Class methods
init(legIndex: UInt, |
Properties
var legIndex: UInt { get } |
var weight: MMKDrivingWeight { get } |
var annotation: MMKDrivingAnnotation { get } |
var viaPointPositions: [NSNumber] { get } |
Class methods
init(legIndex:weight:annotation:viaPointPositions:)
init(legIndex: UInt, |
Properties
legIndex
var legIndex: UInt { get } |
A leg is a section of the route between two consecutive waypoints.
weight
var weight: MMKDrivingWeight { get } |
The "weight" of the section.
annotation
var annotation: MMKDrivingAnnotation { 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.