getExtent() {
    return toUserExtent(
      this.getExtentInternal(),
      this.getMap().getView().getProjection(),
    );
  }
Returns the current drawn extent in the view projection (or user projection if set)

@return {import("../extent.js").Extent} Drawn extent in the view projection.
@api