CMMarker
public class CMMarker : CMFeature
Marker feature. The Marker draws icon at given point
Usage example:
let mapController: CMMapController = ...
let coordinate: CMLatLng = ...
let marker = CMMarker(name: "My Marker")
marker.coordinate = coordinate
mapController.put(feature: marker)
-
The coordinate
Declaration
Swift
public var coordinate: CMLatLng?
-
Undocumented
Declaration
Swift
public class CMMarker : CMFeature
-
The marker image
Declaration
Swift
public var image : UIImage
-
The marker style
Declaration
Swift
public var style: CMMarkerStyle