• Creates a complex polygon with the specified polygons.

    Parameters

    • reference: null | CoordinateReference

      the reference in which the ComplexPolygon is defined

    • Optional polygons: Polygon[]

      an array of Polygon instances. The first polygon in this array is the outer ring. All other polygons in this array must be contained inside this first polygon.

    Returns ComplexPolygon

    The complex polygon with the specified polygons