CircleOptions | iOS SDK | 2GIS Documentation

CircleOptions

Parameters for creating a geometric map object of the Circle type.

public init(
    position: GeoPoint,
    radius: Meter,
    color: Color = Color(),
    strokeWidth: LogicalPixel = LogicalPixel(value: 0),
    strokeColor: Color = Color(),
    visible: Bool = true,
    userData: Any = (),
    zIndex: ZIndex = ZIndex(value: 0),
    levelId: LevelId? = nil
)
Parameters
position
radius
color
strokeWidth
strokeColor
visible
zIndex
levelId
Properties

Geographic position.

Radius in meters.

Fill color.

Circle border line width.

Color of the circle boundary line.

Visibility flag.

Any

User data. (not used inside SDK, only for API users).

Object drawing level.

Binding to the floor plan of the building.