Administrative Units Grid
fun AdministrativeUnitsGrid(administrativeUnits: List<AdministrativeUnitViewData>, columnCount: Int, onAdministrativeUnitPressedAt: (index: Int) -> Unit)
The grid of administrative units. Each unit is displayed as a Google Maps component with its geographical outline (cartographic boundary) plotted, if available.
Parameters
administrative Units
the administrative units view data to be considered.
column Count
the number of columns to lay out the administrative units. This value is also used to calculate the size of each unit within the grid.
on Administrative Unit Pressed At
event triggered when a administrative unit is pressed. It contains its index as a param.