TKTransportMode
public enum TKTransportMode : String, CaseIterable
Undocumented
-
Undocumented
Declaration
Swift
case flight = "in_air"
-
Undocumented
Declaration
Swift
case publicTransport = "pt_pub"
-
Undocumented
Declaration
Swift
case limited = "pt_ltd"
-
Undocumented
Declaration
Swift
case schoolBuses = "pt_ltd_SCHOOLBUS"
-
Undocumented
Declaration
Swift
case drt = "ps_drt"
-
Undocumented
Declaration
Swift
case taxi = "ps_tax"
-
Undocumented
Declaration
Swift
case tnc = "ps_tnc"
-
Undocumented
Declaration
Swift
case autoRickshaw = "ps_ars"
-
Undocumented
Declaration
Swift
case car = "me_car"
-
Undocumented
Declaration
Swift
case carShare = "me_car-s"
-
Undocumented
Declaration
Swift
case carRental = "me_car-r"
-
Undocumented
Declaration
Swift
case carPool = "me_car-p"
-
Undocumented
Declaration
Swift
case motorbike = "me_mot"
-
Undocumented
Declaration
Swift
case micromobility = "me_mic"
-
Undocumented
Declaration
Swift
case bicycle = "me_mic_bic"
-
Undocumented
Declaration
Swift
case micromobilityShared = "me_mic-s"
-
Undocumented
Declaration
Swift
case bicycleShared = "me_mic-s_bic"
-
Undocumented
Declaration
Swift
case walking = "wa_wal"
-
Undocumented
Declaration
Swift
case wheelchair = "wa_whe"
-
Undocumented
Declaration
Swift
case bicycleDeprecated = "cy_bic"
-
Undocumented
Declaration
Swift
case bikeShareDeprecated = "cy_bic-s"
-
Undocumented
Declaration
Swift
public var modeIdentifier: String { get }
-
Undocumented
Declaration
Swift
public static func modeIdentifierIsPublicTransport(_ identifier: String) -> Bool
-
Undocumented
Declaration
Swift
public static func modeIdentifierIsWalking(_ identifier: String) -> Bool
-
Undocumented
Declaration
Swift
public static func modeIdentifierIsWheelchair(_ identifier: String) -> Bool
-
Undocumented
Declaration
Swift
public static func modeIdentifierIsCycling(_ identifier: String) -> Bool
-
Undocumented
Declaration
Swift
static func color(for modeIdentifier: String) -> TKColor
-
Image that stands for the specified transport mode identifier
Declaration
Swift
static func title(for modeIdentifier: String) -> String?
-
Undocumented
Declaration
Swift
static func image(for mode: TKTransportMode) -> TKImage?
-
Undocumented
Declaration
Swift
static func image(for modeIdentifier: String) -> TKImage?