CarLocationRenderer

class CarLocationRenderer(mainCarContext: MainCarContext) : MapboxCarMapObserver

Create a simple 3d location puck. This class is demonstrating how to create a renderer. To Create a new location experience, try creating a new class.

Constructors

Link copied to clipboard
fun CarLocationRenderer(mainCarContext: MainCarContext)

Functions

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