centerOnInternal(coordinate, size, position) {
    this.setCenterInternal(
      calculateCenterOn(
        coordinate,
        size,
        position,
        this.getResolution(),
        this.getRotation(),
      ),
    );
  }
@param {import("./coordinate.js").Coordinate} coordinate Coordinate.
@param {import("./size.js").Size} size Box pixel size.
@param {import("./pixel.js").Pixel} position Position on the view to center on.