polygonOf
Creates a Polygon from multiple lists of Position objects (rings).
Each list of positions represents a linear ring. The first ring is the exterior ring, and any additional rings are interior rings (holes). See Polygon for details on linear ring structure.
Return
A Polygon containing the specified rings.
Parameters
coordinates
The coordinate lists (rings) to include in the Polygon. The first ring is the exterior, subsequent rings are holes.
Throws
if no coordinates are provided or any ring is not closed or contains fewer than 4 Position objects.