Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitElevationData
@interface MMKMasstransitElevationData : NSObject |
Information of elevation gain in loss in a fitness section
Summary
Class methods
+ (nonnull MMKMasstransitElevationData *)elevationDataWithTotalAscent:(nonnull MMKLocalizedValue *)totalAscent |
Properties
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *totalAscent; |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *totalDescent; |
@property (nonatomic, readonly, nullable) MMKLocalizedValue *steps; Optional field, can be nil |
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *kilocalories; |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
Class methods
elevationDataWithTotalAscent:totalDescent:steps:kilocalories:inclineSections:elevationSegments:
+ (nonnull MMKMasstransitElevationData *)elevationDataWithTotalAscent:(nonnull MMKLocalizedValue *)totalAscent |
Properties
totalAscent
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *totalAscent; |
Total ascent in meters
totalDescent
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *totalDescent; |
Total descent in meters
steps
@property (nonatomic, readonly, nullable) MMKLocalizedValue *steps; |
The number of steps required to cover the distance for an average person
Optional field, can be nil.
kilocalories
@property (nonatomic, readonly, nonnull) MMKLocalizedValue *kilocalories; |
The number of kilocalories consumed by an average person to cover the distance
inclineSections
@property (nonatomic, readonly, nonnull) |
List of sections with notable incline
elevationSegments
@property (nonatomic, readonly, nonnull) |
List of elevation for each point of the section polyline