NavigationMapViewCourseTrackingDelegate
@objc(MBNavigationMapViewCourseTrackingDelegate)
public protocol NavigationMapViewCourseTrackingDelegate : AnyObject
The NavigationMapViewCourseTrackingDelegate
provides methods for responding to the NavigationMapView
starting or stopping course tracking.
-
Tells the receiver that the map is now tracking the user course.
Seealso
NavigationMapView.tracksUserCourseDeclaration
Swift
@objc(navigationMapViewDidStartTrackingCourse:) optional func navigationMapViewDidStartTrackingCourse(_ mapView: NavigationMapView)
Parameters
mapView
The NavigationMapView.
-
Tells the receiver that
tracksUserCourse
was set to false, signifying that the map is no longer tracking the user course.Seealso
NavigationMapView.tracksUserCourseDeclaration
Swift
@objc(navigationMapViewDidStopTrackingCourse:) optional func navigationMapViewDidStopTrackingCourse(_ mapView: NavigationMapView)
Parameters
mapView
The NavigationMapView.