Builder

open class Builder

Creates NavigationMapboxMap object.

Constructors

Builder
Link copied to clipboard
open fun Builder(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner)

Functions

build
Link copied to clipboard
open fun build(): NavigationMapboxMap
routeBelowLayerId
Link copied to clipboard
open fun routeBelowLayerId(routeBelowLayerId: String): NavigationMapboxMap.Builder
optionally pass in a layer id to place the route line below
useSpecializedLocationLayer
Link copied to clipboard
open fun useSpecializedLocationLayer(useSpecializedLocationLayer: Boolean): NavigationMapboxMap.Builder
determines if the location puck should use a specialized render layer.
vanishingRouteLineUpdateIntervalNano
Link copied to clipboard
open fun vanishingRouteLineUpdateIntervalNano(vanishingRouteLineUpdateIntervalNano: Long): NavigationMapboxMap.Builder
Set minimum update interval (in nanoseconds) of the vanishing point when enabled.
vanishRouteLineEnabled
Link copied to clipboard
open fun vanishRouteLineEnabled(vanishRouteLineEnabled: Boolean): NavigationMapboxMap.Builder
determines if the route line should vanish behind the puck during navigation.