CMPolygon

public class CMPolygon : CMMultiPoint

Polygon feature. The Polygon draws filled polygon with three or more coordinates, the first and last coordinate can’t be the same.

Usage example:

let mapController: CMMapController = ...
let coordinates: [CMLatLng] = ...

let polygon = CMPolygon(name: "My Polygon")
polygon.coordinates = coordinates

mapController.put(feature: polygon)