-
See moreNavigationMapViewis a subclass ofUIView, which drawsMapViewon its surface and provides convenience functions for addingRoutelines to a map.Declaration
Swift
open class NavigationMapView : UIViewextension NavigationMapView: CLLocationManagerDelegateextension NavigationMapView: UIGestureRecognizerDelegate -
The
See moreNavigationMapViewDelegateprovides methods for configuring theNavigationMapView, as well as responding to events triggered by theNavigationMapView.Declaration
Swift
public protocol NavigationMapViewDelegate : AnyObject, UnimplementedLogging -
An extension on
See moreMapViewthat allows for toggling traffic on a map style that contains a Mapbox Traffic source.Declaration
Swift
extension MapView -
An object that notifies a map view when the user’s location changes, minimizing the noise that normally accompanies location updates from a
CLLocationManagerobject.Unlike
Routerclasses such asRouteControllerandLegacyRouteController, this class operates without a predefined route, matching the user’s location to the road network at large. If your application displays aMapViewbefore starting turn-by-turn navigation, callLocationManager.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
See morePassiveLocationManagerto detect the user’s location as it changes. If you want location updates but do not need to display them on a map and do not want a dependency on the MapboxNavigation module, you can usePassiveLocationManagerinstead of this class.Declaration
Swift
open class PassiveLocationProvider : NSObject, LocationProviderextension PassiveLocationProvider: PassiveLocationManagerDelegate -
An object that notifies a map view when the user’s location changes, minimizing the noise that normally accompanies location updates from a
CLLocationManagerobject.If your application displays a
MapViewbefore starting turn-by-turn navigation, callLocationManager.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
See moreNavigationLocationManagerto detect the user’s location as it changes.Declaration
Swift
open class NavigationLocationProvider : NSObject, LocationProvider, CLLocationManagerDelegate -
Enum denoting the types of the destination waypoint highlighting on arrival.
See moreDeclaration
Swift
public enum WaypointStyle : Int -
The style of the user location indicator in a
See moreNavigationMapView.Declaration
Swift
public enum UserLocationStyle
Install in Dash
Maps Reference