addHole

Adds a hole to the outline of the polygon being built.

Return

This PolygonOptions object with the given hole added to the outline.

Parameters

hole

List list made up of LatLng points defining the hole


Adds holes to the outline of the polygon being built.

Return

This PolygonOptions object with the given holes added to the outline.

Parameters

holes

List list made up of LatLng holes to be added to polygon geometry