AdministrativeUnitView

fun AdministrativeUnitView(modifier: Modifier = Modifier, administrativeUnit: AdministrativeUnitViewData, mapUISettings: MapUiSettings = MapUiSettingsStatic(), areZoomControlsEnabled: Boolean = false, areImagesShowing: Boolean = true, areImagesSizeShowing: Boolean = true, areSubDivisionsShowing: Boolean = true, onPress: () -> Unit? = null)

The Component that visually shows the Administrative Unit.

Parameters

modifier

the modifier used for the internal Box.

administrativeUnit

the administrative unit used.

mapUISettings

the data for the Google Maps component used.

areZoomControlsEnabled

whether the zoom controls is showed in the component.

areImagesShowing

whether the images are shown within the map.

areImagesSizeShowing

whether the image size info are shown within the map.

areSubDivisionsShowing

whether the cartographic boundary's subdivisions are shown within the map.

onPress

fired when the Administrative Unit is pressed.