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.-
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.
-
The coordinate of the center of the circle.
Declaration
Swift
public let coordinate: CLLocationCoordinate2D
-
The radius of the circle.
Declaration
Swift
public let radius: Double
-
Fill color of the circle.
Declaration
Swift
public let fillColor: UIColor
-
Declaration
Swift
public static func == (lhs: CircleOptions, rhs: CircleOptions) -> Bool