forEachTileCoord(extent, zoom, callback) {
    const tileRange = this.getTileRangeForExtentAndZ(extent, zoom);
    for (let i = tileRange.minX, ii = tileRange.maxX; i <= ii; ++i) {
      for (let j = tileRange.minY, jj = tileRange.maxY; j <= jj; ++j) {
        callback([zoom, i, j]);
      }
    }
  }
Call a function with each tile coordinate for a given extent and zoom level.

@param {import("../extent.js").Extent} extent Extent.
@param {number} zoom Integer zoom level.
@param {function(import("../tilecoord.js").TileCoord): void} callback Function called with each tile coordinate.
@api