Ios webgl maps reference Circle | 2GIS Documentation

Circle

Circle object on map

Extends: MapObject
public init(
	id: String = UUID().uuidString,
	center: CLLocationCoordinate2D,
	radius: CLLocationDistance,
	strokeColor: UIColor? = nil,
	strokeWidth: CGFloat? = nil,
	fillColor: UIColor? = nil,
	z: Int? = nil
)

Creates new circle on map

Parameters
id
String

Unique object id

center
CLLocationCoordinate2D

Position on map

radius
CLLocationDistance

Radius in meters

strokeColor
UIColor?

Stroke color of circle

strokeWidth
CGFloat?

Stroke width of circle

fillColor
UIColor?

Circle fill color

z
Int?

Draw order

Properties

Position on map