RegionDrawer

fun RegionDrawer(region: RegionViewData, onPressed: () -> Unit = {})

The component used to draw the Region inside a Google Maps Component. It creates a Polygon component. It can also, for debug purposes, draw the region's bounding box around it.

Parameters

region

the data from Region.

onPressed

fired when the region is pressed.