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 audioGuidanceButtonStyle: Int? = null

Provide custom MapboxAudioGuidanceButton style for the audio guidance button. Use defaultAudioGuidanceButtonStyle to reset to default.

Link copied to clipboard
var cameraModeButtonStyle: Int? = null

Provide custom MapboxCameraModeButton style for the camera mode button. Use defaultCameraModeButtonStyle to reset to default.

Link copied to clipboard
var compassButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for the compass button. Use defaultCompassButtonStyle to reset to default.

Link copied to clipboard
var destinationMarkerAnnotationOptions: PointAnnotationOptions? = null

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

Link copied to clipboard
var endNavigationButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for the end navigation button. Use defaultEndNavigationButtonStyle 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
@FloatRange(from = 0.0, to = 1.0)
var infoPanelGuidelineMaxPosPercent: Float? = null

Info panel guideline maximum position within its parent view. This value must be within 0.0f..1.0f range. Use defaultInfoPanelGuidelineMaxPosPercent 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 locationPuckOptions: LocationPuckOptions? = null

Provide LocationPuckOptions containing references to either LocationPuck2D or LocationPuck3D for location puck in each of the different navigation states to be displayed on top of the MapView. Use defaultLocationPuckOptions 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 recenterButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for the re-center button. Use defaultRecenterButtonStyle 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 routePreviewButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for the route preview button. Use defaultRoutePreviewButtonStyle to reset to default.

Link copied to clipboard
var speedInfoOptions: MapboxSpeedInfoOptions? = null

Provide options to style MapboxSpeedInfoView MUTCD and VIENNA configuration . Use defaultSpeedInfoOptions to reset to default.

Link copied to clipboard
var startNavigationButtonStyle: Int? = null

Provide custom MapboxExtendableButton style for the start navigation button. Use defaultStartNavigationButtonStyle to reset to default.

Link copied to clipboard
var tripProgressStyle: Int? = null

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