multiPolygonOf
Creates a MultiPolygon from multiple Polygon objects.
Return
A MultiPolygon containing the specified polygons.
Parameters
The polygons to include in the multi-polygon.
Creates a MultiPolygon from multiple lists of lists of Position objects.
Each list of lists of positions represents one polygon, where each inner list is a linear ring. Within each polygon, the first ring is the exterior ring and subsequent rings are interior rings (holes). See Polygon for details on linear ring structure.
Return
A MultiPolygon containing the specified polygons.
Parameters
The polygons to include in the MultiPolygon. Each polygon is a list of rings (lists of positions), where the first ring is the exterior and subsequent rings are holes.
Throws
if any polygon is empty or any ring is not closed or contains fewer than 4 Position objects.