Mapbox Navigation SDK for iOS Docs Navigation SDK for iOS Reference (1.4.2)

View on GitHub

Install in Dash

Mapbox Navigation SDK for iOS Reference Maps Reference
  • Guides
    • Using Map Matching
    • Reduce Memory Usage
    • Styling the UI
  • Turn-by-turn UI
    • NavigationViewController
    • NavigationViewControllerDelegate
    • RouteVoiceController
    • SpeechSynthesizing
    • SpeechSynthesizingDelegate
    • MapboxSpeechSynthesizer
    • SystemSpeechSynthesizer
    • MultiplexedSpeechSynthesizer
    • SpeechError
    • SpeechFailureAction
    • NavigationOptions
    • NavigationView
  • Core Navigation Logic
    • NavigationService
    • NavigationServiceDelegate
    • MapboxNavigationService
    • – NotificationUserInfoKey
    • Router
    • RouterDataSource
    • RouteController
    • – NotificationUserInfoKey
    • RouterDelegate
    • RouteProgress
    • RouteLegProgress
    • RouteStep
    • RouteStepProgress
    • CongestionLevel
    • VisualInstruction
    • VisualInstructionDelegate
    • NavigationEventsManager
    • EventsManagerDataSource
    • NavigationLocationManager
    • ReplayLocationManager
    • SimulatedLocationManager
    • NavigationRouteOptions
    • RouteOptions
    • NavigationMatchOptions
    • SimulationMode
    • PassiveLocationDataSource
    • – NotificationUserInfoKey
  • Maps
    • NavigationMapView
    • NavigationMapViewDelegate
    • NavigationMapViewCourseTrackingDelegate
    • MGLMapView
    • MGLAccountManager
    • MGLMultiPolygonFeature
    • MGLMultiPolyline
    • MGLMultiPolylineFeature
    • MGLPointAnnotation
    • MGLPointFeature
    • MGLPolygon
    • MGLPolygonFeature
    • MGLPolyline
    • MGLPolylineFeature
    • MGLStyle
    • PassiveLocationManager
    • WaypointStyle
  • Styling
    • Style
    • StyleManager
    • StyleManagerNotificationUserInfoKey
    • StyleManagerDelegate
    • DayStyle
    • NightStyle
  • Formatters
    • DistanceFormatter
  • UI Components
    • BottomBannerViewController
    • BottomBannerViewControllerDelegate
    • SpeedLimitView
    • UserPuckCourseView
    • UserHaloCourseView
    • CourseUpdatable
    • NavigationComponent
  • Guidance Instruction UI
    • TopBannerViewController
    • InstructionsCardViewController
    • InstructionsCardContainerView
    • InstructionsCardContainerViewDelegate
    • InstructionsBannerViewDelegate
    • ManeuverView
    • JunctionView
    • GenericRouteShield
  • CarPlay
    • CarPlayManager
    • CarPlayManagerDelegate
    • CarPlayNavigationViewController
    • CarPlayNavigationDelegate
    • CarPlayActivity
    • CarPlayCompassView
    • CarPlayMapViewController
    • CarPlaySearchController
    • CarPlayConnectionObserver
  • Configuration
    • RouteControllerDeadReckoningTimeInterval
    • RouteControllerMediumAlertInterval
    • RouteControllerHighAlertInterval
    • RouteControllerManeuverZoneRadius
    • RouteSnappingMaxManipulatedCourseAngle
    • RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion
    • RouteControllerMaximumDistanceBeforeRecalculating
    • RouteControllerUserLocationSnappingDistance
    • MapOrnamentPosition
    • MBCongestionAttribute
    • MBCurrentLegAttribute
    • MBRouteLineWidthByZoomLevel
    • NavigationMapViewMinimumDistanceForOverheadZooming
    • NavigationViewMinimumVolumeForWarning
    • RouteControllerIncorrectCourseMultiplier
    • RouteControllerLinkedInstructionBufferMultiplier
    • RouteControllerMaximumSpeedForUsingCurrentStep
    • RouteControllerMinNumberOfInCorrectCourses
    • RouteControllerMinimumBacktrackingDistanceForRerouting
    • RouteControllerMinimumDistanceForContinueInstruction
    • RouteControllerMinimumDurationRemainingForProactiveRerouting
    • RouteControllerMinimumNumberLocationUpdatesBackwards
    • RouteControllerNumberOfSecondsForRerouteFeedback
    • RouteControllerProactiveReroutingInterval
    • RouteSnappingMinimumHorizontalAccuracy
    • RouteSnappingMinimumSpeed
    • NavigationSettings
  • User Feedback
    • FeedbackViewController
    • FeedbackViewControllerDelegate
    • FeedbackItem
    • FeedbackType
    • IncorrectVisualSubtype
    • ConfusingAudioSubtype
    • RouteQualitySubtype
    • IllegalRouteSubtype
    • RoadClosureSubtype
    • FeedbackSource
    • EndOfRouteFeedback
  • Other Classes
    • DispatchTimer
    • FloatingButton
    • NavigationAnnotation
  • Other Extensions
    • Array
    • Bundle
    • CGPoint
    • CGSize
    • CLLocation
    • Dictionary
    • Locale
    • Measurement
    • NSAttributedString
    • – Key
    • Notification
    • – Name
    • RouteLeg
    • String
    • UIApplication
    • – State
    • UIDevice
    • UIEdgeInsets
    • UIFont
    • UIWindow
  • Other Protocols
    • BimodalCache
    • BimodalDataCache
    • BimodalImageCache
    • NavigationMapInteractionObserver
    • NavigationStatusPresenter
    • PassiveLocationDataSourceDelegate
    • RouteVoiceControllerDelegate
    • StatusViewDelegate
    • StepsViewControllerDelegate
    • UnimplementedLogging
  • Other Structures
    • BorderCrossing
    • RouteAlert
    • – Alert
    • Tunnel
  • Other Type Aliases
    • ContainerViewController
    • IndexedRoute

Maps

  • NavigationMapView

    NavigationMapView is a subclass of MGLMapView with convenience functions for adding Route lines to a map.

    See more

    Declaration

    Swift

    open class NavigationMapView : MGLMapView, UIGestureRecognizerDelegate
    View Source on GitHub
  • NavigationMapViewDelegate

    The NavigationMapViewDelegate provides methods for configuring the NavigationMapView, as well as responding to events triggered by the NavigationMapView.

    See more

    Declaration

    Swift

    public protocol NavigationMapViewDelegate : AnyObject, UnimplementedLogging
    View Source on GitHub

NavigationMapViewCourseTrackingDelegate

  • NavigationMapViewCourseTrackingDelegate

    The NavigationMapViewCourseTrackingDelegate provides methods for responding to the NavigationMapView starting or stopping course tracking.

    See more

    Declaration

    Swift

    public protocol NavigationMapViewCourseTrackingDelegate : AnyObject, UnimplementedLogging
    View Source on GitHub
  • MGLMapView

    An extension on MGLMapView that allows for toggling traffic on a map style that contains a Mapbox Traffic source.

    See more

    Declaration

    Swift

    extension MGLMapView
  • MGLAccountManager
    See more

    Declaration

    Swift

    extension MGLAccountManager
  • MGLMultiPolygonFeature
    See more

    Declaration

    Swift

    extension MGLMultiPolygonFeature
  • MGLMultiPolyline
    See more

    Declaration

    Swift

    extension MGLMultiPolyline
  • MGLMultiPolylineFeature
    See more

    Declaration

    Swift

    extension MGLMultiPolylineFeature
  • MGLPointAnnotation
    See more

    Declaration

    Swift

    extension MGLPointAnnotation
  • MGLPointFeature
    See more

    Declaration

    Swift

    extension MGLPointFeature
  • MGLPolygon
    See more

    Declaration

    Swift

    extension MGLPolygon
  • MGLPolygonFeature
    See more

    Declaration

    Swift

    extension MGLPolygonFeature
  • MGLPolyline
    See more

    Declaration

    Swift

    extension MGLPolyline
  • MGLPolylineFeature
    See more

    Declaration

    Swift

    extension MGLPolylineFeature
  • MGLStyle
    See more

    Declaration

    Swift

    extension MGLStyle
  • PassiveLocationManager

    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 as RouteController and LegacyRouteController, this class operates without a predefined route, matching the user’s location to the road network at large. If your application displays an MGLMapView before starting turn-by-turn navigation, set MGLMapView.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 PassiveLocationDataSource 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 use PassiveLocationDataSource instead of this class.

    See more

    Declaration

    Swift

    open class PassiveLocationManager : NSObject, MGLLocationManager
    extension PassiveLocationManager: PassiveLocationDataSourceDelegate
    View Source on GitHub
  • WaypointStyle

    Enum denoting the types of the destination waypoint highlighting on arrival.

    See more

    Declaration

    Swift

    public enum WaypointStyle : Int
    View Source on GitHub

© 2014–2021 Mapbox. See license for more details.

Generated by jazzy ♪♫ v0.13.7, a Realm project.