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.

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]