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)
-
The polygon style.
Declaration
Swift
public var style: CMPolygonStyle
-
Undocumented
Declaration
Swift
public class CMPolygon : CMMultiPoint