NavigationMapboxMap

open fun NavigationMapboxMap(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner)

Constructor that can be used once OnMapReadyCallback has been called via getMapAsync.

Deprecated

use Builder instead

Parameters

mapView

for map size and Context

mapboxMap

for APIs to interact with the map

lifecycleOwner

provides lifecycle for component

open fun NavigationMapboxMap(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner, vanishRouteLineEnabled: Boolean)

Constructor that can be used once OnMapReadyCallback has been called via getMapAsync.

Deprecated

use Builder instead

Parameters

mapView

for map size and Context

mapboxMap

for APIs to interact with the map

lifecycleOwner

provides lifecycle for component

vanishRouteLineEnabled

determines if the route line should vanish behind the puck during navigation.

open fun NavigationMapboxMap(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner, routeBelowLayerId: String)

Constructor that can be used once OnMapReadyCallback has been called via getMapAsync.

Deprecated

use Builder instead

Parameters

mapView

for map size and Context

mapboxMap

for APIs to interact with the map

lifecycleOwner

provides lifecycle for component

routeBelowLayerId

optionally pass in a layer id to place the route line below

open fun NavigationMapboxMap(mapView: MapView, mapboxMap: MapboxMap, lifecycleOwner: LifecycleOwner, routeBelowLayerId: String, vanishRouteLineEnabled: Boolean, useSpecializedLocationLayer: Boolean)

Constructor that can be used once OnMapReadyCallback has been called via getMapAsync.

Deprecated

use Builder instead

Parameters

mapView

for map size and Context

mapboxMap

for APIs to interact with the map

lifecycleOwner

provides lifecycle for component

routeBelowLayerId

optionally pass in a layer id to place the route line below

vanishRouteLineEnabled

determines if the route line should vanish behind the puck during navigation.

useSpecializedLocationLayer

determines if the location puck should use a specialized render layer.

@TestOnly()
open fun NavigationMapboxMap(layerInteractor: MapLayerInteractor)
@TestOnly()
open fun NavigationMapboxMap(locationComponent: LocationComponent)
@TestOnly()
open fun NavigationMapboxMap(mapRoute: NavigationMapRoute)
@TestOnly()
open fun NavigationMapboxMap(navigationSymbolManager: NavigationSymbolManager)
@TestOnly()
open fun NavigationMapboxMap(mapWayName: MapWayName, mapFpsDelegate: MapFpsDelegate)
@TestOnly()
open fun NavigationMapboxMap(mapWayName: MapWayName, mapFpsDelegate: MapFpsDelegate, mapRoute: NavigationMapRoute, mapCamera: NavigationCamera, locationFpsDelegate: LocationFpsDelegate)
@TestOnly()
open fun NavigationMapboxMap(mapWayName: MapWayName, mapFpsDelegate: MapFpsDelegate, mapRoute: NavigationMapRoute, mapCamera: NavigationCamera, locationFpsDelegate: LocationFpsDelegate, locationComponent: LocationComponent, vanishRouteLineEnabled: Boolean)
@TestOnly()
open fun NavigationMapboxMap(mapboxMap: MapboxMap, mapWayName: MapWayName, mapFpsDelegate: MapFpsDelegate, mapRoute: NavigationMapRoute, mapCamera: NavigationCamera, locationFpsDelegate: LocationFpsDelegate, locationComponent: LocationComponent, vanishRouteLineEnabled: Boolean)
@TestOnly()
open fun NavigationMapboxMap(mapboxMap: MapboxMap, layerInteractor: MapLayerInteractor, adjustor: MapPaddingAdjustor)