CircleGeometry
public struct CircleGeometry : Geometry
Circle geometry for searchArea
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new CircleGeometry
Declaration
Swift
public init(coordinate: CLLocationCoordinate2D, radius: Measurement<UnitLength>)
Parameters
coordinate
a coordinate that defines the circle center
radius
radius of the circle
-
Coordinate of the circle center.
Declaration
Swift
public let coordinate: CLLocationCoordinate2D
-
Radius of the circle.
Declaration
Swift
public let radius: Measurement<UnitLength>