Function extentToRectangle

  • Takes an import('ol/extent').Extent and return an Array of ol.Coordinate representing a rectangle polygon.

    Returns

    The Array of coordinate of the rectangle.

    Parameters

    • extent: Extent

      The extent.

    Returns Coordinate[]

Generated using TypeDoc