MMKMasstransitConnector

Warning

This feature is available in the Full MapKit SDK version

class 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

 init(from: MMKMasstransitIndoorLevel?, to: MMKMasstransitIndoorLevel?)

Properties

var from: MMKMasstransitIndoorLevel? { get }
A level (floor) where the connector begins

var to: MMKMasstransitIndoorLevel? { get }
A level (floor) where the connector ends

Class methods

init(from:to:)

 init(from: MMKMasstransitIndoorLevel?, to: MMKMasstransitIndoorLevel?)


Properties

from

var from: MMKMasstransitIndoorLevel? { get }

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

Optional field, can be nil.


to

var to: MMKMasstransitIndoorLevel? { get }

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

Optional field, can be nil.