NavigationLocationProvider

open class NavigationLocationProvider : NSObject, LocationProvider, CLLocationManagerDelegate

An object that notifies a map view when the user’s location changes, minimizing the noise that normally accompanies location updates from a CLLocationManager object.

If your application displays a MapView before starting turn-by-turn navigation, call LocationManager.overrideLocationProvider(with:) to override default location provider so that the map view always shows the location snapped to the road network. For example, use this class to show the user’s current location as they wander around town.

This class depends on NavigationLocationManager to detect the user’s location as it changes.