SITMapViewController
Objective-C
@interface SITMapViewController : NSObject
Swift
class SITMapViewController : NSObject
Class that acts as a controller for SITMapView and manages user interactions and map data.
-
Init method, do not call it. You must use the controller returned to you in the completion of loadWithConfiguration:withCompletion: when you load your SITMapView object.
Declaration
Objective-C
- (nonnull instancetype)initWithMapView:(nonnull SITMapView *)mapView;
Swift
init(mapView: SITMapView)
Parameters
mapView
the mapView
-
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)