Warning

This feature is available in the Full MapKit SDK version

MMKMasstransitStop

@interface MMKMasstransitStop : NSObject <MMKBaseMetadata>

Describes a public transport stop.

Summary

Class methods

+ (nonnull MMKMasstransitStop *)stopWithId:(nonnull NSString *)id
                                      name:(nonnull NSString *)name
                            additionalName:(nullable NSString *)additionalName
                                  features:(nullable MMKMasstransitStopFeatureMask *)features
                         transportContours:(nonnull NSArray<MMKMasstransitTransportContour *> *)transportContours;

Properties

@property (nonatomic, readonly, nonnull) NSString *id;
Stop ID

@property (nonatomic, readonly, nonnull) NSString *name;
Stop name

@property (nonatomic, readonly, nullable) NSString *additionalName;
Additional stop name

@property (nonatomic, readonly, nullable)
    MMKMasstransitStopFeatureMask *features;

Additional stop features

@property (nonatomic, readonly, nonnull)
    NSArray<MMKMasstransitTransportContour *> *transportContours;

Describes transport contours represented at this Stop

Class methods

stopWithId:name:additionalName:features:transportContours:

+ (nonnull MMKMasstransitStop *)stopWithId:(nonnull NSString *)id
                                      name:(nonnull NSString *)name
                            additionalName:(nullable NSString *)additionalName
                                  features:(nullable MMKMasstransitStopFeatureMask *)features
                         transportContours:(nonnull NSArray<MMKMasstransitTransportContour *> *)transportContours;


Properties

id

@property (nonatomic, readonly, nonnull) NSString *id;

Stop ID.


name

@property (nonatomic, readonly, nonnull) NSString *name;

Stop name.


additionalName

@property (nonatomic, readonly, nullable) NSString *additionalName;

Additional stop name. Can be a local number or specifying index. Similar to thread description, but for stops

Optional field, can be nil.


features

@property (nonatomic, readonly, nullable)
    MMKMasstransitStopFeatureMask *features;

Additional stop features.

Optional field, can be nil.


transportContours

@property (nonatomic, readonly, nonnull)
    NSArray<MMKMasstransitTransportContour *> *transportContours;

Describes transport contours represented at this Stop.