MMKMasstransitConnector

Warning

This feature is available in the Full MapKit SDK version

@interface MMKMasstransitConnector : NSObject

Connectors connect two floors, indoor and outdoor, two indoor plans. Connectors do not have single level id and name but still are considered a part of the indoor plan. Examples: stairs, elevators, escalators, travolators, transitions, route segment that goes from outdoor to indoor (through the entrance) and vica versa.

Summary

Class methods

+ (nonnull MMKMasstransitConnector *)connectorWithFrom:(nullable MMKMasstransitIndoorLevel *)from
                                                    to:(nullable MMKMasstransitIndoorLevel *)to;

Properties

@property (nonatomic, readonly, nullable) MMKMasstransitIndoorLevel *from;
A level (floor) where the connector begins

@property (nonatomic, readonly, nullable) MMKMasstransitIndoorLevel *to;
A level (floor) where the connector ends

Class methods

connectorWithFrom:to:

+ (nonnull MMKMasstransitConnector *)connectorWithFrom:(nullable MMKMasstransitIndoorLevel *)from
                                                    to:(nullable MMKMasstransitIndoorLevel *)to;


Properties

from

@property (nonatomic, readonly, nullable) MMKMasstransitIndoorLevel *from;

A level (floor) where the connector begins. Null means outdoor.

Optional field, can be nil.


to

@property (nonatomic, readonly, nullable) MMKMasstransitIndoorLevel *to;

A level (floor) where the connector ends. Null means outdoor.

Optional field, can be nil.