ViewStyleCustomization

class ViewStyleCustomization

A class that allows you to style the default standalone components used by NavigationView. If not specified, NavigationView uses the default styles defined for each of the standalone components.

Constructors

Link copied to clipboard
fun ViewStyleCustomization()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var arrivalTextAppearance: Int? = null

Provide custom ArrivalTextComponent. Use defaultArrivalTextAppearance to reset to default.

Link copied to clipboard
var audioGuidanceButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxAudioGuidanceButton to customize button styles. Use defaultAudioGuidanceButtonParams to reset to default.

Link copied to clipboard
var cameraModeButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxCameraModeButton to customize button styles. Use defaultCameraModeButtonParams to reset to default.

Link copied to clipboard
var destinationMarkerAnnotationOptions: PointAnnotationOptions? = null

Provide PointAnnotationOptions for destination marker. Use defaultMarkerAnnotationOptions to reset to default.

Link copied to clipboard
var endNavigationButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxExtendableButton to customize button styles. Use defaultEndNavigationButtonParams to reset to default.

Link copied to clipboard
var infoPanelBackground: Int? = null

Specify info panel background drawable. Use defaultInfoPanelBackground to reset to default.

Link copied to clipboard
var infoPanelMarginEnd: Int? = null

Specify info panel end margin. Use defaultInfoPanelMarginEnd to reset to default.

Link copied to clipboard
var infoPanelMarginStart: Int? = null

Specify info panel start margin. Use defaultInfoPanelMarginStart to reset to default.

Link copied to clipboard
var infoPanelPeekHeight: Int? = null

Specify info panel peek height. Use defaultInfoPanelPeekHeight to reset to default.

Link copied to clipboard
var maneuverViewOptions: ManeuverViewOptions? = null

Provide custom ManeuverViewOptions to style MapboxManeuverView. Use defaultManeuverViewOptions to reset to default.

Link copied to clipboard
var poiNameTextAppearance: Int? = null

Provide custom POINameComponent. Use defaultPoiNameTextAppearance to reset to default.

Link copied to clipboard
var recenterButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxExtendableButton to customize button styles. Use defaultRecenterButtonParams to reset to default.

Link copied to clipboard
var roadNameBackground: Int? = null

Provide custom MapboxRoadNameView background. Use defaultRoadNameBackground to reset to default.

Link copied to clipboard
var roadNameTextAppearance: Int? = null

Provide custom MapboxRoadNameView. Use defaultRoadNameTextAppearance to reset to default.

Link copied to clipboard
var routePreviewButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxExtendableButton to customize button styles. Use defaultRoutePreviewButtonParams to reset to default.

Link copied to clipboard
var speedLimitStyle: Int? = null

Provide custom MapboxSpeedLimitView style. Use defaultSpeedLimitStyle to reset to default.

Link copied to clipboard
var speedLimitTextAppearance: Int? = null

Provide custom MapboxSpeedLimitView. Use defaultSpeedLimitTextAppearance to reset to default.

Link copied to clipboard
var startNavigationButtonParams: MapboxExtendableButtonParams? = null

Provide custom parameters for MapboxExtendableButton to customize button styles. Use defaultStartNavigationButtonParams to reset to default.

Link copied to clipboard
var tripProgressStyle: Int? = null

Provide custom MapboxTripProgressView style. Use defaultTripProgressStyle to reset to default.