getCenter() {
    const center = this.getCenterInternal();
    if (!center) {
      return center;
    }
    return toUserCoordinate(center, this.getProjection());
  }
Get the view center.
@return {import("./coordinate.js").Coordinate|undefined} The center of the view.
@observable
@api