RegionsMapCheckableGrid

fun RegionsMapCheckableGrid(regions: List<RegionViewData>, onRegionCheckedChangeAt: (index: Int) -> Unit)

The component that displays a personalized grid of RegionMapCheckableViews. It positions the main region on top and the others below, with sizes based on the number of regions displayed.

Parameters

regions

the list of region data objects to be displayed.

onRegionCheckedChangeAt

the event fired when a region's checkbox is pressed. It can be called with either the region data object or its index within the list.