renderViewOnce

abstract fun renderViewOnce(view: AbstractComposeView, onAddedToWindow: () -> Unit?)

Prepares view for a single render by temporarily attaching it as a child of the MapView. Its composition will start. onAddedToWindow is called in place, and then view is removed from the window before returning.