CarSpeedLimitRenderer

class CarSpeedLimitRenderer : MapboxCarMapObserver

Create a speed limit sign. This class is demonstrating how to create a renderer. To Create a new speed limit sign experience, try creating a new class.

Constructors

Link copied to clipboard
fun CarSpeedLimitRenderer(mainCarContext: MainCarContext)

Public constructor and the internal constructor is for unit testing.

Functions

Link copied to clipboard
open override fun onAttached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onDetached(mapboxCarMapSurface: MapboxCarMapSurface)
Link copied to clipboard
open override fun onVisibleAreaChanged(visibleArea: Rect, edgeInsets: EdgeInsets)