Polygon Annotation
Composable function to add a PolygonAnnotation to the Map. For convenience, if there's no need to hoist the polygonAnnotationState, use PolygonAnnotation(points, onClick, init)
with trailing lambda instead.
Parameters
A list of lists of Point for the fill, which represents the locations of the fill on the map.
Callback to be invoked when the PolygonAnnotation is clicked. The clicked PolygonAnnotation will be passed as parameter.
The state holder for PolygonAnnotation properties.
Composable function to add a PolygonAnnotation to the Map.
Parameters
A list of lists of Point for the fill, which represents the locations of the fill on the map.
Callback to be invoked when the PolygonAnnotation is clicked. The clicked PolygonAnnotation will be passed as parameter.
the lambda that will be applied to the remembered PolygonAnnotationState.