slot

fun slot(name: String, content: @Composable () -> Unit)

Assign a new MapboxMapComposable to the given slot name.

Parameters

name

The name of the slot.

content

a MapboxMapComposable to be applied to the slot.

Throws