-
See moreNavigationMapView
is a subclass ofMGLMapView
with convenience functions for addingRoute
lines to a map.Declaration
Swift
open class NavigationMapView : MGLMapView, UIGestureRecognizerDelegate
-
The
See moreNavigationMapViewDelegate
provides methods for configuring the NavigationMapView, as well as responding to events triggered by the NavigationMapView.Declaration
Swift
public protocol NavigationMapViewDelegate : AnyObject, UnimplementedLogging
-
The
See moreNavigationMapViewCourseTrackingDelegate
provides methods for responding to theNavigationMapView
starting or stopping course tracking.Declaration
Swift
public protocol NavigationMapViewCourseTrackingDelegate : AnyObject, UnimplementedLogging
-
An extension on
See moreMGLMapView
that allows for toggling traffic on a map style that contains a Mapbox Traffic source.Declaration
Swift
extension MGLMapView
-
Declaration
Swift
extension MGLAccountManager
-
Declaration
Swift
extension MGLMultiPolygonFeature
-
Declaration
Swift
extension MGLMultiPolyline
-
Declaration
Swift
extension MGLMultiPolylineFeature
-
Declaration
Swift
extension MGLPointAnnotation
-
Declaration
Swift
extension MGLPointFeature
-
Declaration
Swift
extension MGLPolygon
-
Declaration
Swift
extension MGLPolygonFeature
-
Declaration
Swift
extension MGLPolyline
-
Declaration
Swift
extension MGLPolylineFeature
-
Declaration
Swift
extension MGLStyle
-
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.Unlike
Router
classes such asRouteController
andLegacyRouteController
, this class operates without a predefined route, matching the user’s location to the road network at large. If your application displays anMGLMapView
before starting turn-by-turn navigation, setMGLMapView.locationManager
to an instance of this class 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 morePassiveLocationDataSource
to 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 usePassiveLocationDataSource
instead of this class.Declaration
Swift
open class PassiveLocationManager : NSObject, MGLLocationManager
extension PassiveLocationManager: PassiveLocationDataSourceDelegate
-
Enum denoting the types of the destination waypoint highlighting on arrival.
See moreDeclaration
Swift
public enum WaypointStyle : Int