createOverlayView

abstract fun createOverlayView(context: Context): View?

Creates the overlay View to be added on top of the MapView.

Called once during MapView creation with the Presentation's context (NOT the CarContext — the Presentation context is needed for views rendered on the VirtualDisplay).

Return

The overlay View, or null to skip overlay creation

Parameters

context

The Presentation context for creating Views