Ios webgl maps reference Marker | 2GIS Documentation

Marker

Represents a single marker on the map.

Extends: MapObject
Implements: IHideable
public init(
	id: String = NSUUID().uuidString,
	coordinates: CLLocationCoordinate2D,
	image: UIImage? = nil,
	anchor: Anchor = .center
)

Creates the new instance of the marker object.

Parameters
id
coordinates
CLLocationCoordinate2D

Marker geographical coordinates

image
UIImage?

Marker image

Properties

Gets the marker image.

Gets the marker anchor.

Gets or sets the marker coordinates.

Bool

Gets or sets the value indicating whether the marker is hidden.