MapKit Mobile SDK

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,
        weight: MMKDrivingWeight,
    annotation: MMKDrivingAnnotation,
 viaPointPositions: [NSNumber])

Properties

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

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

var annotationMMKDrivingAnnotation { 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: MMKDrivingWeight,
    annotation: MMKDrivingAnnotation,
 viaPointPositions: [NSNumber])


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.