Warning
This feature is available in the Full MapKit SDK version
YMKMasstransitElevationData
class YMKMasstransitElevationData : NSObject |
Information of elevation gain in loss in a fitness section
Summary
Class methods
init(totalAscent: YMKLocalizedValue, |
Properties
var totalAscent: YMKLocalizedValue { get } |
var totalDescent: YMKLocalizedValue { get } |
var steps: YMKLocalizedValue? { get } Optional field, can be nil |
var kilocalories: YMKLocalizedValue { get } |
var inclineSections: [YMKMasstransitInclineSection] { get } |
var elevationSegments: [YMKMasstransitElevationPoint] { get } |
Class methods
init(totalAscent:totalDescent:steps:kilocalories:inclineSections:elevationSegments:)
init(totalAscent: YMKLocalizedValue, |
Properties
totalAscent
var totalAscent: YMKLocalizedValue { get } |
Total ascent in meters
totalDescent
var totalDescent: YMKLocalizedValue { get } |
Total descent in meters
steps
var steps: YMKLocalizedValue? { get } |
The number of steps required to cover the distance for an average person
Optional field, can be nil.
kilocalories
var kilocalories: YMKLocalizedValue { get } |
The number of kilocalories consumed by an average person to cover the distance
inclineSections
var inclineSections: [YMKMasstransitInclineSection] { get } |
List of sections with notable incline
elevationSegments
var elevationSegments: [YMKMasstransitElevationPoint] { get } |
List of elevation for each point of the section polyline