PolygonGeometry
public struct PolygonGeometry : Geometry
Polygon geometry for searchArea
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new
PolygonGeometry
Declaration
Swift
public init(vertices: [CLLocationCoordinate2D])
Parameters
vertices
an array of vertices of the polygon.
-
Vertices of the polygon.
Declaration
Swift
public let vertices: [CLLocationCoordinate2D]