CircleOptions

public struct CircleOptions : AnnotationOptions, Equatable

A type that represents circle options.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Creates an instance of CircleOptions using the provided center coordinate, and radius.

    Declaration

    Swift

    public init(coordinate: CLLocationCoordinate2D, radius: Double, fillColor: UIColor)

    Parameters

    coordinate

    The coordinate of the center of the circle.

    radius

    The radius of the circle.

    fillColor

    Fill color of the circle.

Public

  • The coordinate of the center of the circle.

    Declaration

    Swift

    @EquatableWrapper
    public private(set) var coordinate: CLLocationCoordinate2D { get set }
  • The radius of the circle.

    Declaration

    Swift

    public let radius: Double
  • Fill color of the circle.

    Declaration

    Swift

    public let fillColor: UIColor
  • Indicates if given annotation can produce delegate call on MapDelegate, default value is set to true.

    Declaration

    Swift

    public var isSelectable: Bool
  • Declaration

    Swift

    public static func == (lhs: CircleOptions, rhs: CircleOptions) -> Bool