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

View on GitHub

Install in Dash

Mapbox Navigation SDK for iOS Reference Camera 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
    • ActiveNavigationEventsManagerDataSource
    • PassiveNavigationEventsManagerDataSource
    • NavigationLocationManager
    • ReplayLocationManager
    • SimulatedLocationManager
    • NavigationRouteOptions
    • RouteOptions
    • NavigationMatchOptions
    • SimulationMode
    • PassiveLocationManager
    • – NotificationUserInfoKey
    • HistoryRecording
  • Maps
    • NavigationMapView
    • NavigationMapViewDelegate
    • MapView
    • PassiveLocationProvider
    • NavigationLocationProvider
    • WaypointStyle
    • UserLocationStyle
  • 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
    • InstructionsBannerView
    • InstructionsBannerViewDelegate
    • BaseInstructionsBannerView
    • ManeuverView
    • JunctionView
    • GenericRouteShield
  • CarPlay
    • CarPlayManager
    • CarPlayManagerDelegate
    • CarPlayNavigationViewController
    • CarPlayNavigationViewControllerDelegate
    • CarPlayActivity
    • CarPlayCompassView
    • CarPlayMapViewController
    • CarPlayMapViewControllerDelegate
    • CarPlaySearchController
    • CarPlaySearchControllerDelegate
    • CarPlayConnectionObserver
    • RecentItem
    • NavigationGeocodedPlacemark
  • Configuration
    • RouteControllerDeadReckoningTimeInterval
    • RouteControllerMediumAlertInterval
    • RouteControllerHighAlertInterval
    • RouteControllerManeuverZoneRadius
    • RouteSnappingMaxManipulatedCourseAngle
    • RouteControllerMaximumAllowedDegreeOffsetForTurnCompletion
    • RouteControllerMaximumDistanceBeforeRecalculating
    • RouteControllerUserLocationSnappingDistance
    • MapOrnamentPosition
    • CongestionAttribute
    • CurrentLegAttribute
    • RouteLineWidthByZoomLevel
    • NavigationMapViewMinimumDistanceForOverheadZooming
    • NavigationViewMinimumVolumeForWarning
    • GradientCongestionFadingDistance
    • RouteControllerIncorrectCourseMultiplier
    • RouteControllerLinkedInstructionBufferMultiplier
    • RouteControllerMaximumSpeedForUsingCurrentStep
    • RouteControllerMinNumberOfInCorrectCourses
    • RouteControllerMinimumBacktrackingDistanceForRerouting
    • RouteControllerMinimumDistanceForContinueInstruction
    • RouteControllerMinimumDurationRemainingForProactiveRerouting
    • RouteControllerMinimumNumberLocationUpdatesBackwards
    • RouteControllerNumberOfSecondsForRerouteFeedback
    • RouteControllerProactiveReroutingInterval
    • RouteSnappingMinimumHorizontalAccuracy
    • RouteSnappingMinimumSpeed
    • NavigationSettings
  • User Feedback
    • FeedbackViewController
    • FeedbackViewControllerDelegate
    • FeedbackItem
    • ActiveNavigationFeedbackType
    • PassiveNavigationFeedbackType
    • PassiveNavigationIncorrectVisualSubtype
    • ConfusingAudioSubtype
    • RouteQualitySubtype
    • IllegalRouteSubtype
    • RoadClosureSubtype
    • FeedbackSource
    • EndOfRouteFeedback
  • Camera
    • NavigationCamera
    • NavigationCameraType
    • NavigationCameraState
    • CameraStateTransition
    • NavigationCameraStateTransition
    • ViewportDataSource
    • NavigationViewportDataSource
    • ViewportDataSourceType
    • ViewportDataSourceDelegate
  • Electronic Horizon
    • ElectronicHorizonOptions
    • RoadGraph
    • – NotificationUserInfoKey
    • – Edge
    • – Path
    • – Position
    • – SubgraphEdge
    • OpenLRIdentifier
    • OpenLROrientation
    • RoadName
    • RoadObject
    • – EdgeLocation
    • – Kind
    • – Location
    • – Position
    • DistancedRoadObject
    • RoadObjectMatcher
    • RoadObjectStore
    • RoadObjectMatcherDelegate
    • RoadObjectStoreDelegate
    • RoadObjectMatcherError
  • Other Classes
    • DispatchTimer
    • – State
    • FeedbackEvent
    • FloatingButton
    • MapboxRoutingProvider
    • – Source
    • – Request
    • PredictiveCacheManager
    • StepInstructionsView
    • StepTableViewCell
    • WayNameLabel
    • WayNameView
  • Other Global Variables
    • CongestionRangeHeavy
    • CongestionRangeLow
    • CongestionRangeModerate
    • CongestionRangeSevere
    • RestrictedRoadClassAttribute
  • Other Enumerations
    • AlternativeRouteError
    • FeedbackScreenshotOption
    • LooksIncorrectSubtype
    • OpenLRSideOfRoad
    • PassiveNavigationRoadIssueSubtype
    • PassiveNavigationWrongTrafficSubtype
    • ReroutingError
    • RoutesPresentationStyle
    • SimulationIntent
    • SimulationState
  • Other Extensions
    • Array
    • Bundle
    • CGPoint
    • CGSize
    • CLLocation
    • CPInterfaceController
    • CameraOptions
    • CongestionRange
    • Dictionary
    • Directions
    • Locale
    • MapboxNavigationNative.RoadObjectMatcherError
    • MapboxStreetsRoadClass
    • Measurement
    • NSAttributedString
    • – Key
    • Notification
    • – Name
    • ResourceOptionsManager
    • RouteLeg
    • String
    • StyleURI
    • TileStore
    • TilesetDescriptorFactory
    • UIApplication
    • – State
    • UIDevice
    • UIEdgeInsets
    • UIFont
    • UIWindow
    • URLSessionDataTask
  • Other Protocols
    • BimodalCache
    • BimodalDataCache
    • BimodalImageCache
    • FeedbackType
    • NavigationMapInteractionObserver
    • NavigationProviderRequest
    • NavigationStatusPresenter
    • PassiveLocationManagerDelegate
    • RouteVoiceControllerDelegate
    • RoutingProvider
    • StepsViewControllerDelegate
    • TopBannerViewControllerDelegate
    • UnimplementedLogging
  • Other Structures
    • AlternativeRoute
    • – RouteInfo
    • AlternativeRouteDetectionStrategy
    • – RefreshOnEmpty
    • BearingSmoothing
    • BorderCrossing
    • FollowingCameraOptions
    • GeometryFramingAfterManeuver
    • IncidentsOptions
    • IndexedRouteResponse
    • IntersectionDensity
    • MapMatchingResult
    • NavigationViewportDataSourceOptions
    • OverviewCameraOptions
    • PitchNearManeuver
    • PredictiveCacheOptions
    • RouteAlert
    • StatusUpdatingSettings
    • TileStoreConfiguration
    • – Location
    • Tunnel
  • Other Type Aliases
    • AdvanceLegCompletionHandler
    • CarPlayUserInfo
    • CongestionRange
    • ContainerViewController
    • RoutingProviderSource
    • UserCourseView

Camera

  • NavigationCamera

    NavigationCamera class provides functionality, which allows to manage camera related states and transitions in a typical navigation scenarios. It’s fed with CameraOptions via the ViewportDataSource protocol and executes transitions using CameraStateTransition protocol.

    See more

    Declaration

    Swift

    public class NavigationCamera : NSObject, ViewportDataSourceDelegate
    View Source on GitHub
  • NavigationCameraType

    Possible types of NavigationCamera.

    See more

    Declaration

    Swift

    public enum NavigationCameraType
    View Source on GitHub
  • NavigationCameraState

    Possible states which NavigationCamera can have.

    See more

    Declaration

    Swift

    public enum NavigationCameraState
    View Source on GitHub
  • CameraStateTransition

    Protocol, which is used to execute camera related transitions, based on data provided via CameraOptions in ViewportDataSource.

    By default Navigation SDK for iOS provides default implementation of CameraStateTransition in NavigationCameraStateTransition.

    See more

    Declaration

    Swift

    public protocol CameraStateTransition : AnyObject
    View Source on GitHub
  • NavigationCameraStateTransition

    Class, which conforms to CameraStateTransition protocol and provides default implementation of camera related transitions by using CameraAnimator functionality provided by Mapbox Maps SDK.

    See more

    Declaration

    Swift

    public class NavigationCameraStateTransition : CameraStateTransition
    View Source on GitHub
  • ViewportDataSource

    Protocol, which is used to fill and store CameraOptions which will be used by NavigationCamera for execution of transitions and continuous updates.

    By default Navigation SDK for iOS provides default implementation of ViewportDataSource in NavigationViewportDataSource.

    See more

    Declaration

    Swift

    public protocol ViewportDataSource : AnyObject
    View Source on GitHub
  • NavigationViewportDataSource

    Class, which conforms to ViewportDataSource protocol and provides default implementation of it.

    See more

    Declaration

    Swift

    public class NavigationViewportDataSource : ViewportDataSource
    extension NavigationViewportDataSource: LocationConsumer
    View Source on GitHub
  • ViewportDataSourceType

    Possible types of location related updates NavigationViewportDataSource can track. ViewportDataSourceType can also be used in custom implementations of classes, which conform to ViewportDataSource.

    See more

    Declaration

    Swift

    public enum ViewportDataSourceType
    View Source on GitHub
  • ViewportDataSourceDelegate

    Delegate, which is used to notify NavigationCamera regarding upcoming CameraOptions related changes.

    See more

    Declaration

    Swift

    public protocol ViewportDataSourceDelegate : AnyObject
    View Source on GitHub

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

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