Marker
Represents a single marker on the map.
public init(
id: String = NSUUID().uuidString,
coordinates: CLLocationCoordinate2D,
image: UIImage? = nil,
anchor: Anchor = .center,
label: Label? = nil,
zIndex: CGFloat? = nil
)
Creates the new instance of the marker object.
Parameters
id
String
Marker uid
coordinates
CLLocationCoordinate2D
Marker geographical coordinates
image
UIImage?
Marker image
label
Label?
Initialization options of the marker’s label. coordinate is ignored
zIndex
CGFloat?
Draw order.
Properties
Gets the marker image.
Gets the marker anchor.
Defines the draw order of the marker.
Gets or sets the marker coordinates.
Marker label
Gets or sets the value indicating whether the marker is hidden.