@objc(MBNavigationOptions) open class NavigationOptions : NSObject, NavigationCustomizable
Customization options for the turn-by-turn navigation user experience in a
A navigation options object is where you place customized components that the navigation view controller uses during its lifetime, such as styles or voice controllers. You would likely use this class if you need to specify a Mapbox access token programmatically instead of in the Info.plist file.
NavigationOptionsis designed to be used with the
NavigationViewControllerclass to customize the user experience. To specify criteria when calculating routes, use the
NavigationRouteOptionsclass. To modify user preferences that persist across navigation sessions, use the
The styles that the view controller’s internal
StyleManagerobject can select from for display.
@objc open var styles: [Style]?
Initializes an object that configures a
The user interface styles that are available for display.
The navigation service that coordinates the view controller’s nonvisual components, tracking the user’s location as they proceed along the route.
The voice controller that vocalizes spoken instructions along the route at the appropriate times.
The container view controller that presents the top banner.
The container view controller that presents the bottom banner.
Convienence factory-method for convenient bridging to Objective-C.
@objc public class func navigationOptions() -> Self