RouterDataSource
public protocol RouterDataSource : AnyObject
A router data source, also known as a location manager, supplies location data to a Router
instance. For example, a MapboxNavigationService
supplies location data to a RouteController
or LegacyRouteController
.
-
The location provider for the
Router.
This class is designated as the object that will provide location updates when requested.Declaration
Swift
var locationManagerType: NavigationLocationManager.Type { get }