SITMapViewController
Objective-C
@protocol SITMapViewController <NSObject>
Swift
protocol SITMapViewController : NSObjectProtocol
Class that acts as a controller for SITMapView and manages user interactions and map data.
-
Set options that will be used on following directios request
@options SITMapViewDirectionsOptions instance.
Declaration
Objective-C
- (void)setDirectionsOptions:(nonnull SITMapViewDirectionsOptions *)options;
Swift
func setDirectionsOptions(_ options: SITMapViewDirectionsOptions)
-
Start navigation to a POI
@identifier Identifier of the POI you want to navigate to
Declaration
Objective-C
- (void)navigateToPoi:(nonnull NSString *)identifier;
Swift
func navigate(toPoi identifier: String)
-
Start navigation to a POI
@identifier Identifier of the POI you want to navigate to @accessibilityMode Type of route that you want to start
Declaration
Objective-C
- (void)navigateToPoi:(nonnull NSString *)identifier accessibilityMode:(SITAccessibilityMode)accessibilityMode;
Swift
func navigate(toPoi identifier: String, accessibilityMode: SITAccessibilityMode)