setCenter(center) {
    this.setCenterInternal(
      center ? fromUserCoordinate(center, this.getProjection()) : center,
    );
  }
Set the center of the current view. Any extent constraint will apply.
@param {import("./coordinate.js").Coordinate|undefined} center The center of the view.
@observable
@api