ViewOptionsCustomization

class ViewOptionsCustomization

A class that allows you to define values for various different properties used by the NavigationView. If not specified, NavigationView uses the default values defined for each of these properties.

Constructors

Link copied to clipboard
fun ViewOptionsCustomization()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var mapStyleUriDay: String? = null

Provide custom navigation style for day mode. Use NavigationStyles.NAVIGATION_DAY_STYLE to reset to default.

Link copied to clipboard
var mapStyleUriNight: String? = null

Provide custom navigation style for night mode. Use NavigationStyles.NAVIGATION_NIGHT_STYLE to reset to default.

Link copied to clipboard
var routeArrowOptions: RouteArrowOptions? = null

Provide custom route arrow options. Use ViewOptionsCustomization.defaultRouteArrowOptions to reset to default.

Link copied to clipboard
var routeLineOptions: MapboxRouteLineOptions? = null

Provide custom route line options. Use ViewOptionsCustomization.defaultRouteLineOptions to reset to default.

Link copied to clipboard
var showInfoPanelInFreeDrive: Boolean? = null

Set if the Info Panel should be visible for the Free Drive state. When set to trueInfoPanelBinder will only render an empty info panel. You are responsible to inflate appropriate Binder to render the content you would like to show on the info panel during free drive. Set to false for the default behavior.