NavigationLauncherConfig class
Properties
-
enableDissolvedRouteLine
↔ bool?
-
Indicates whether to show the dissolved route line.
Default is true.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
locationLayerRenderMode
↔ LocationLayerRenderMode?
-
The location layer render mode in the Navigation View. Can be
LocationLayerRenderMode.normal, LocationLayerRenderMode.compass, LocationLayerRenderMode.gps
Default is LocationLayerRenderMode.GPS.
getter/setter pair
-
navigationMapStyleUrl
↔ String?
-
Indicates the map style in Navigation view.
Its priority is higher than
the navViewMapStyle of (
CustomNavigationViewLight
, CustomNavigationViewDark
) set in the styles.xml for Android
the mapStyleURL of (customDayStyle
, customNightStyle
) set in the AppDelegate for iOS
getter/setter pair
-
route
↔ DirectionsRoute
-
The selected route for navigation.
getter/setter pair
-
routes
↔ List<DirectionsRoute>?
-
All routes return from route request contains alternative routes.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
shouldSimulateRoute
↔ bool?
-
Indicates whether to simulate the route during Navigation.
Default is false.
getter/setter pair
-
showArriveDialog
↔ bool?
-
Indicates whether to show the arrive dialog.
If set to true, the arrive dialog will be shown when the user arrives at the waypoints or destination.
If set to false, the arrive dialog will not be shown when the user arrives at the waypoints or destination.
This property is only available for call NBNavigation.startNavigation to launch the navigation.
It is not available for NBNavigationView.If you want to show the arrive dialog in NBNavigationView,
you need to custom the dialog by yourself in the NBNavigationView.onArriveAtWaypoint.
getter/setter pair
-
showSpeedometer
↔ bool?
-
Indicates whether to show the speedometer.
If set to true, the speedometer will be shown during navigation.
If set to false, the speedometer will not be shown during navigation.
getter/setter pair
-
themeMode
↔ NavigationThemeMode?
-
The theme mode for the navigation View. Can be
NavigationThemeMode.system, NavigationThemeMode.light, NavigationThemeMode.dark
The default is NavigationThemeMode.system.
getter/setter pair
-
useCustomNavigationStyle
↔ bool?
-
Indicates whether to enable the custom style defined in
styles.xml for Android (
CustomNavigationViewLight
, CustomNavigationViewDark
)
AppDelegate for iOS (customDayStyle
, customNightStyle
)
getter/setter pair