Важно

This feature is available in the Full MapKit SDK version

YMKMasstransitWeight

class YMKMasstransitWeight : NSObject

Numeric characteristics of a route or a route section.

Summary

Class methods

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

Properties

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

var walkingDistanceYMKLocalizedValue { 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: YMKLocalizedValue,
 walkingDistance: YMKLocalizedValue,
 transfersCount: UInt)


Properties

time

var time: YMKLocalizedValue { get }

Travel time for a route or a route section.


walkingDistance

var walkingDistance: YMKLocalizedValue { 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.


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