PolygonGeometry

public struct PolygonGeometry : Equatable

Polygon geometry for searchArea.

Lifecycle

  • Creates a new PolygonGeometry.

    Declaration

    Swift

    public init(vertices: [CLLocationCoordinate2D])

    Parameters

    vertices

    an array of vertices of the polygon.

Public

  • Vertices of the polygon.

    Declaration

    Swift

    public let vertices: [CLLocationCoordinate2D]
  • Equatable conformance.

    Declaration

    Swift

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