RegionMapCheckableView

fun RegionMapCheckableView(modifier: Modifier, region: RegionViewData, onRegionCheckedChangeAt: (region: RegionViewData) -> Unit? = null)

The component that displays a map, with the region plotted along with a checkbox on the upper right.

Parameters

modifier

the modifier used in the internal Box.

region

the region used to plot.

onRegionCheckedChangeAt

the event fired when the checkbox is pressed. It carries the region as a param.