Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitWeight

class MMKMasstransitWeight : NSObject

Numeric characteristics of a route or a route section.

Summary

Class methods

 init(time: MMKLocalizedValue,
 walkingDistance: MMKLocalizedValue,
 transfersCount: UInt)

Properties

var timeMMKLocalizedValue { get }
Travel time for a route or a route section

var walkingDistanceMMKLocalizedValue { get }
Distance of the pedestrian part of the route or a route section

var transfersCount: UInt { get }
The number of transfers for a route or a route section

Class methods

init(time:walkingDistance:transfersCount:)

 init(time: MMKLocalizedValue,
 walkingDistance: MMKLocalizedValue,
 transfersCount: UInt)


Properties

time

var time: MMKLocalizedValue { get }

Travel time for a route or a route section.


walkingDistance

var walkingDistance: MMKLocalizedValue { get }

Distance of the pedestrian part of the route or a route section.


transfersCount

var transfersCount: UInt { get }

The number of transfers for a route or a route section.