CMPoint
public class CMPoint : CMGeometry
Point feature. The Point draws a filled circle at given point.
Usage example:
let mapController: CMMapController = ...
let coordinate: CMLatLng = ...
let style = CMPointStyle()
style.size = ["30px", "30px"]
style.color = "red"
style.outline = "30px"
let point = CMPoint(name: "My Point")
point.style = style
point.coordinate = coordinate
mapController.put(feature: point)
-
The coordinate
Declaration
Swift
public var coordinate: CMLatLng?
-
The point style
Declaration
Swift
public var style: CMPointStyle?
-
Undocumented
Declaration
Swift
public class CMPoint : CMGeometry