CircleOptions
public struct CircleOptions : AnnotationOptions, Equatable
A type that represents circle options.
-
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, in meters.
fillColor
Fill color of the circle.
-
The coordinate of the center of the circle.
Declaration
Swift
@EquatableWrapper public private(set) var coordinate: CLLocationCoordinate2D { get set }
-
The radius of the circle, in meters.
Declaration
Swift
public let radius: Double
-
Fill color of the circle.
Declaration
Swift
public let fillColor: UIColor
-
Indicates if a given annotation can produce a delegate call on
MapDelegate
; the default value is set totrue
.Declaration
Swift
public var isSelectable: Bool
-
Equatable method.
Declaration
Swift
public static func == (lhs: CircleOptions, rhs: CircleOptions) -> Bool