# Interface olTileGridOptions

#### Hierarchy

- olTileGridOptions

- Defined in src/options.js:622

#####
Index

### Properties

extent
minZoom
origin
origins
resolutions
sizes
tileSize
tileSizes

## Properties

### extent

extent: Extent

Extent for the tile grid. No tiles outside this extent will be requested by module:ol/source/Tile sources. When no `origin` or `origins` are configured, the `origin` will be set to the top-left corner of the extent.

- Defined in src/options.js:623

### minZoom

minZoom: number

Minimum zoom.

- Defined in src/options.js:626

### origin

origin: Coordinate

The tile grid origin, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`). Tile coordinates increase left to right and downwards. If not specified, `extent` or `origins` must be provided.

- Defined in src/options.js:627

### origins

origins: Coordinate[]

Tile grid origins, i.e. where the `x` and `y` axes meet (`[z, 0, 0]`), for each zoom level. If given, the array length should match the length of the `resolutions` array, i.e. each resolution can have a different origin. Tile coordinates increase left to right and downwards. If not specified, `extent` or `origin` must be provided.

- Defined in src/options.js:630

### resolutions

resolutions: number[]

Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a `minZoom` is configured, the resolutions array will have a length of `maxZoom + 1`.

- Defined in src/options.js:635

### sizes

sizes: Size[]

Number of tile rows and columns of the grid for each zoom level. If specified the values define each zoom level's extent together with the `origin` or `origins`. A grid `extent` can be configured in addition, and will further limit the extent for which tile requests are made by sources. If the bottom-left corner of an extent is used as `origin` or `origins`, then the `y` value must be negative because OpenLayers tile coordinates use the top left as the origin.

- Defined in src/options.js:638

### tileSize

tileSize: number | Size

Tile size. Default is `[256, 256]`.

- Defined in src/options.js:645

### tileSizes

tileSizes: Size[]

Tile sizes. If given, the array length should match the length of the `resolutions` array, i.e. each resolution can have a different tile size.

- Defined in src/options.js:647

Generated using TypeDoc