PacemPolylineElement eases the rendering of a generic polyline. The polyline can be marked as closed and it's then handled as a polygon.
PacemPolylineElement
closed