function createForProjection(projection, maxZoom, tileSize, corner) {
  const extent = extentFromProjection(projection);
  return createForExtent(extent, maxZoom, tileSize, corner);
}
@param {import("./proj.js").ProjectionLike} projection Projection.
@param {number} [maxZoom] Maximum zoom level (default is
    DEFAULT_MAX_ZOOM).
@param {number|import("./size.js").Size} [tileSize] Tile size (default uses
    DEFAULT_TILE_SIZE).
@param {import("./extent.js").Corner} [corner] Extent corner (default is `'top-left'`).
@return {!TileGrid} TileGrid instance.