RouteDeviationDelegate
public protocol RouteDeviationDelegate : AnyObject
This protocol should be implemented in order to
receive notifications
about route deviations from Navigator.
-
Called whenever route deviation has been observed. It contains the information that can be used to decide whether to request a re-route calculation from the routing engine.
Declaration
Swift
func onRouteDeviation(_ routeDeviation: RouteDeviation)Parameters
routeDeviationThe route deviation observed.