holes property

List<List<LatLng>> holes
final

To create an empty area within a polygon, you need to use holes. To create the hole, the coordinates defining the hole path must be inside the polygon.

The vertices of the holes to be cut out of polygon.

Line segments of each points of hole are drawn inside polygon between consecutive hole points.

Implementation

final List<List<LatLng>> holes;