ol.source. ol.source.WMTS

new WMTS

Stability: experimental
Parameters:
Name Type Description
options olx.source.WMTSOptions

WMTS options.

Source:
  • wmtssource.js, line 34

Extends

Methods

<static> optionsFromCapabilities

Stability: experimental
Parameters:
Name Type Description
wmtsCap Object

An object representing the capabilities document.

layer string

The layer identifier.

Source:
  • wmtssource.js, line 244
Returns:

WMTS source options object.

Type
olx.source.WMTSOptions

getDimensions

Stability: experimental

Get the dimensions, i.e. those passed to the constructor through the "dimensions" option, and possibly updated using the updateDimensions method.

Source:
  • wmtssource.js, line 200
Returns:

Dimensions.

Type
Object

getSupportedPixelRatio

Stability: experimental
Parameters:
Name Type Description
pixelRatio number

Requested pixel ratio.

Inherited From:
Source:
  • tilesource.js, line 161
Returns:

Supported pixel ratio.

Type
number

getTileGrid

Stability: not documented
Inherited From:
Source:
  • tilesource.js, line 187
Returns:

Tile grid.

Type
ol.tilegrid.TileGrid

updateDimensions

Stability: experimental

Update the dimensions.

Parameters:
Name Type Description
dimensions Object

Dimensions.

Source:
  • wmtssource.js, line 231