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

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
    • – OrnamentsController
    • – RouteOverlayController
    • NavigationMapViewDelegate
    • MapView
    • Style
    • PassiveLocationManager
    • WaypointStyle
    • UserLocationStyle
  • Styling
    • 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
    • CarPlayNavigationViewControllerDelegate
    • CarPlayActivity
    • CarPlayCompassView
    • CarPlayMapViewController
    • CarPlaySearchController
    • CarPlayConnectionObserver
  • Configuration
    • RouteControllerDeadReckoningTimeInterval
    • RouteControllerMediumAlertInterval
    • RouteControllerHighAlertInterval
    • RouteControllerManeuverZoneRadius
    • RouteSnappingMaxManipulatedCourseAngle
    • RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion
    • RouteControllerMaximumDistanceBeforeRecalculating
    • RouteControllerUserLocationSnappingDistance
    • MapOrnamentPosition
    • CongestionAttribute
    • CurrentLegAttribute
    • RouteLineWidthByZoomLevel
    • 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
  • Camera
    • NavigationCamera
    • NavigationCameraType
    • NavigationCameraState
    • CameraStateTransition
    • NavigationCameraStateTransition
    • ViewportDataSource
    • NavigationViewportDataSource
    • ViewportDataSourceType
    • ViewportDataSourceDelegate
  • Other Classes
    • DispatchTimer
    • FloatingButton
    • PredictiveCacheManager
    • RoadGraph
    • – NotificationUserInfoKey
    • – Edge
    • – Path
    • – Position
    • RoadObjectMatcher
    • RoadObjectStore
  • Other Enumerations
    • DistancedRoadObject
    • OpenLROrientation
    • OpenLRSideOfRoad
    • OpenLRStandard
    • RoadName
    • RoadObjectLocation
    • RoadObjectType
  • Other Extensions
    • Array
    • BoundingBox
    • Bundle
    • CGPoint
    • CGSize
    • CLLocation
    • CLLocationDirection
    • CameraOptions
    • Collection
    • Dictionary
    • Directions
    • LaneIndication
    • Locale
    • MapboxMaps
    • – Style
    • MapboxNavigationNative.RoadObjectMatcherError
    • MapboxStreetsRoadClass
    • Match
    • Measurement
    • NSAttributedString
    • – Key
    • Notification
    • – Name
    • ResourceOptionsManager
    • Route
    • RouteLeg
    • String
    • TileEndpointConfiguration
    • TileStore
    • TilesetDescriptorFactory
    • UIApplication
    • – State
    • UIDevice
    • UIEdgeInsets
    • UIFont
    • UIImage
    • UIWindow
    • VectorSource
  • Other Protocols
    • BimodalCache
    • BimodalDataCache
    • BimodalImageCache
    • CarPlaySearchControllerDelegate
    • NavigationMapInteractionObserver
    • NavigationStatusPresenter
    • PassiveLocationDataSourceDelegate
    • RoadObjectMatcherDelegate
    • RoadObjectStoreDelegate
    • RouteVoiceControllerDelegate
    • StepsViewControllerDelegate
    • UnimplementedLogging
  • Other Structures
    • BearingSmoothing
    • BorderCrossing
    • ElectronicHorizonOptions
    • FollowingCameraOptions
    • GeometryFramingAfterManeuver
    • IntersectionDensity
    • NavigationViewportDataSourceOptions
    • OverviewCameraOptions
    • PitchNearManeuver
    • PredictiveCacheOptions
    • RoadObject
    • RoadObjectEdgeLocation
    • RoadObjectMatcherError
    • RoadObjectPosition
    • RouteAlert
    • TileStoreConfiguration
    • – Location
    • Tunnel
  • Other Type Aliases
    • ContainerViewController
    • IndexedRoute
    • RoadObjectIdentifier
    • UserCourseView

Maps

  • NavigationMapView

    NavigationMapView is a subclass of UIView, which draws MapView on its surface and provides convenience functions for adding Route lines to a map.

    See more

    Declaration

    Swift

    open class NavigationMapView : UIView
    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
  • MapView

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

    See more

    Declaration

    Swift

    extension MapView
  • Style

    Style is a convenient wrapper for styling the appearance of various interface components throughout the Navigation UI.

    Styles are applied globally using UIAppearance. You should call Style.apply() to apply the style to the NavigationViewController.

    See more

    Declaration

    Swift

    @objc(MBStyle)
    open class Style : NSObject
    View Source on GitHub
  • 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 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 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, LocationProvider
    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
  • UserLocationStyle

    The style of the user location indicator in a NavigationMapView.

    See more

    Declaration

    Swift

    public enum UserLocationStyle
    View Source on GitHub

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

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