RoadLabelSurfaceLayer
class RoadLabelSurfaceLayer(val carContext: CarContext) : CarSurfaceLayer
Content copied to clipboard
This will show the current road name at the bottom center of the screen.
In your Screen, create an instance of this class and enable by registering it to the MapboxCarMap.registerObserver. Disable by removing the listener with MapboxCarMap.unregisterObserver.
Constructors
Functions
Link copied to clipboard
This allows you to create children listeners. Children are notified after the parent.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)
Content copied to clipboard
Link copied to clipboard