CarSpeedLimitRenderer

class CarSpeedLimitRenderer(mainCarContext: MainCarContext) : 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)

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)