Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitFitness
@interface MMKMasstransitFitness : NSObject |
Represent a section where we have to move by ourself (like pedestrian, or by bicycle and scooter)
Summary
Class methods
+ (nonnull MMKMasstransitFitness *)fitnessWithType:( MMKMasstransitFitnessType)type |
Properties
@property (nonatomic, readonly) MMKMasstransitFitnessType type; |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nonnull) |
@property (nonatomic, readonly, nullable) Optional field, can be nil |
Class methods
fitnessWithType:constructions:restrictedEntries:viaPoints:annotations:trafficTypes:elevationData:
+ (nonnull MMKMasstransitFitness *)fitnessWithType:( MMKMasstransitFitnessType)type |
Properties
type
@property (nonatomic, readonly) MMKMasstransitFitnessType type; |
Undocumented
constructions
@property (nonatomic, readonly, nonnull) |
Compressed information about constructions along the path. MMKMasstransitConstructionSegment::subpolyline fields of all segments cover the entire geometry of corresponding section".
restrictedEntries
@property (nonatomic, readonly, nonnull) |
List of restricted entries with their coordinates along the path.
viaPoints
@property (nonatomic, readonly, nonnull) |
List of via points on the path. A via point is described by the index of the point in the route geometry polyline.
annotations
@property (nonatomic, readonly, nonnull) |
List of annotations on the path.
trafficTypes
@property (nonatomic, readonly, nonnull) |
List of traffic types on path
elevationData
@property (nonatomic, readonly, nullable) |
Information on elevation gain and loss in a fitness section
Optional field, can be nil.