MapKit Mobile SDK

Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitFitness

class MMKMasstransitFitness : NSObject

Represent a section where we have to move by ourself (like pedestrian, or by bicycle and scooter)

Summary

Class methods

 init(type: MMKMasstransitFitnessType,
 constructions: [MMKMasstransitConstructionSegment],
 restrictedEntries: [MMKRestrictedEntry],
 viaPoints: [MMKPolylinePosition],
 annotations: [MMKMasstransitAnnotation],
 trafficTypes: [MMKMasstransitTrafficTypeSegment],
 elevationData: MMKMasstransitElevationData?)

Properties

var typeMMKMasstransitFitnessType { get }
Undocumented

var constructions: [MMKMasstransitConstructionSegment] { get }
Compressed information about constructions along the path

var restrictedEntries: [MMKRestrictedEntry] { get }
List of restricted entries with their coordinates along the path

var viaPoints: [MMKPolylinePosition] { get }
List of via points on the path

var annotations: [MMKMasstransitAnnotation] { get }
List of annotations on the path

var trafficTypes: [MMKMasstransitTrafficTypeSegment] { get }
List of traffic types on path

var elevationDataMMKMasstransitElevationData? { get }
Information on elevation gain and loss in a fitness section

Optional field, can be nil

Class methods

init(type:constructions:restrictedEntries:viaPoints:annotations:trafficTypes:elevationData:)

 init(type: MMKMasstransitFitnessType,
 constructions: [MMKMasstransitConstructionSegment],
 restrictedEntries: [MMKRestrictedEntry],
 viaPoints: [MMKPolylinePosition],
 annotations: [MMKMasstransitAnnotation],
 trafficTypes: [MMKMasstransitTrafficTypeSegment],
 elevationData: MMKMasstransitElevationData?)


Properties

type

var type: MMKMasstransitFitnessType { get }

Undocumented


constructions

var constructions: [MMKMasstransitConstructionSegment] { get }

Compressed information about constructions along the path. MMKMasstransitConstructionSegment::subpolyline fields of all segments cover the entire geometry of corresponding section".


restrictedEntries

var restrictedEntries: [MMKRestrictedEntry] { get }

List of restricted entries with their coordinates along the path.


viaPoints

var viaPoints: [MMKPolylinePosition] { get }

List of via points on the path. A via point is described by the index of the point in the route geometry polyline.


annotations

var annotations: [MMKMasstransitAnnotation] { get }

List of annotations on the path.


trafficTypes

var trafficTypes: [MMKMasstransitTrafficTypeSegment] { get }

List of traffic types on path


elevationData

var elevationData: MMKMasstransitElevationData? { get }

Information on elevation gain and loss in a fitness section

Optional field, can be nil.