Request
public struct Request : NavigationProviderRequest
A request handler for the ongoing routing action.
You can use this instance to cancel ongoing task if needed. Retaining this handler will keep related MapboxRoutingProvider
from deallocating.
-
Related request identifier.
Declaration
Swift
public let requestIdentifier: RequestId
-
Cancels the request if it is still active.
Declaration
Swift
public func cancel()