CMLine

public class CMLine : CMMultiPoint

Line feature. The Line draws lines with two or more coordinates.

Usage example:

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

let line = CMLine(name: "My Line")
line.coordinates = coordinates

mapController.put(feature: line)