collectController

fun MapControllerViewModel.collectController(): MapController?

The controller as composition state: null while the map is not created, triggers recomposition when the map appears or changes.