Class: WMTS

ol.tilegrid.WMTS

Set the grid pattern for sources accessing WMTS tiled-image servers.

new ol.tilegrid.WMTS(options) experimental

Name Type Description
options

WMTS options.

Name Type Description
origin ol.Coordinate | undefined experimental

Origin.

origins Array.<ol.Coordinate> | undefined experimental

Origins.

resolutions Array.<number> experimental

Resolutions.

matrixIds Array.<string> experimental

matrix IDs.

tileSize number | undefined experimental

Tile size.

tileSizes Array.<number> | undefined experimental

Tile sizes.

Extends

Methods

getMatrixIds(){Array.<string>} experimental

Returns:
MatrixIds.

getMaxZoom(){number} inherited experimental

Returns:
Max zoom.

getMinZoom(){number} inherited experimental

Returns:
Min zoom.
Name Type Description
z number

Z.

Returns:
Origin.

getResolution(z){number} inherited

Name Type Description
z number

Z.

Returns:
Resolution.

getResolutions(){Array.<number>} inherited

Returns:
Resolutions.
Name Type Description
z number

Z.

Returns:
Tile size.