Важно

This feature is available in the Full MapKit SDK version

YMKMasstransitFlags

class YMKMasstransitFlags : NSObject

Indicates whether the suggested route has one or more of the specified properties.

Summary

Class methods

 init(requiresAccessPass: Bool, hasAutoRoad: Bool)

Properties

var requiresAccessPass: Bool { get }
Indicates whether the suggested route requires an access pass

var hasAutoRoad: Bool { get }
Indicates whether the suggested route includes automotive roads

Class methods

init(requiresAccessPass:hasAutoRoad:)

 init(requiresAccessPass: Bool, hasAutoRoad: Bool)


Properties

requiresAccessPass

var requiresAccessPass: Bool { get }

Indicates whether the suggested route requires an access pass.


hasAutoRoad

var hasAutoRoad: Bool { get }

Indicates whether the suggested route includes automotive roads.


Предыдущая