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