Warning
This feature is available in the Full MapKit SDK version
MMKMasstransitLine
class MMKMasstransitLine : NSObject, MMKBaseMetadata |
Describes a public transport line.
Summary
Class methods
init(id: String, |
Properties
var id: String { get } |
var name: String { get } |
var vehicleTypes: [String] { get } |
var style: MMKMasstransitLineStyle? { get } |
var isNight: Bool { get } |
var uri: String? { get } |
var shortName: String? { get } |
var transportSystemId: String? { get } |
Class methods
init(id:name:vehicleTypes:style:isNight:uri:shortName:transportSystemId:)
init(id: String, |
Properties
id
var id: String { get } |
Line ID.
name
var name: String { get } |
Line name.
vehicleTypes
var vehicleTypes: [String] { get } |
List of line types. Starts from the most detailed, ends with the most general.
style
var style: MMKMasstransitLineStyle? { get } |
Line style; see MMKMasstransitLineStyle.
Optional field, can be nil.
isNight
var isNight: Bool { get } |
True if the line operates only at night.
uri
var uri: String? { get } |
URI for a line.
Optional field, can be nil.
shortName
var shortName: String? { get } |
Subway short line name.
Optional field, can be nil.
transportSystemId
var transportSystemId: String? { get } |
Subway transport system ID.
Optional field, can be nil.