CircleOptions | iOS SDK | 2GIS Documentation
iOS SDK

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(),
    dashedStrokeOptions: DashedStrokeCircleOptions? = nil,
    visible: Bool = true,
    userData: Any = (),
    zIndex: ZIndex = ZIndex(value: 0),
    levelId: LevelId? = nil
)
Parameters
position
radius
color
strokeWidth
strokeColor
dashedStrokeOptions
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.