Ios webgl maps reference Label | 2GIS Documentation

Label

Polyline map object

Extends: MapObject
Implements: IHideable
public init(
	id: String = UUID().uuidString,
	center: CLLocationCoordinate2D,
	color: UIColor,
	text: String,
	fontSize: CGFloat
)

Creates new label on map

Parameters
id
String

Unique object id

center
CLLocationCoordinate2D

Position on map

color
UIColor

Text color

text
String

Label text

fontSize
CGFloat

Label font size