CMLabel
public class CMLabel : CMFeature
Polygon feature. The Label draws text label at a given point.
Usage example:
let mapController: CMMapController = ...
let coordinate: CMLatLng = ...
let label = CMLabel(text: "My label")
label.coordinate = coordinate
mapController.put(feature: label)
-
The label text
Declaration
Swift
public var text: String
-
The coordinate
Declaration
Swift
public var coordinate: CMLatLng?
-
The label style
Declaration
Swift
public var style: CMLabelStyle
-
Undocumented
Declaration
Swift
public class CMLabel : CMFeature