SITMapViewDirectionsOptions

Objective-C

@interface SITMapViewDirectionsOptions : NSObject <SITMapperProtocol>

Swift

class SITMapViewDirectionsOptions : NSObject, SITMapperProtocol

Class that allows to pass options to the SITMapView component.

  • Additional configuration that allows adjusting the computed route based on a list of tags.

    Every string in the list will be used to include the parts of the graph that matches these tags.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable includedTags;

    Swift

    var includedTags: [String]? { get set }
  • Additional configuration that allows adjusting the computed route based on a list of tags.

    Every string in the list will be used to exclude the parts of the graph that matches these tags.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable excludedTags;

    Swift

    var excludedTags: [String]? { get set }
  • Init methods Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithIncludedTags:(NSArray<NSString *> *_Nullable)includedTags
                excludedTags:(NSArray<NSString *> *_Nullable)excludedTags;

    Swift

    init(includedTags: [String]?, excludedTags: [String]?)