add
Adds a ring to this Polygon. The ring will be automatically closed if not already closed.
Parameters
ring
The list of Positions forming the ring.
Throws
if the ring is empty.
Adds a ring to this Polygon. The ring will be automatically closed if not already closed.
Parameters
ring
The LineString whose coordinates will be used as a ring.