Class: ol.tilegrid.WMTS

ol.tilegrid.WMTS

new WMTS

Parameters:
Name Type Description
wmtsOptions ol.tilegrid.WMTSOptions WMTS options.
Source:
  • wmtstilegrid.js, line 14

Extends

Methods

<static> createFromCapabilitiesMatrixSet

Parameters:
Name Type Description
matrixSet Object An object representing a matrixSet in the capabilities document.
Source:
  • wmtstilegrid.js, line 61
Returns:
WMTS tileGrid instance.
Type
ol.tilegrid.WMTS

forEachTileCoordParentTileRange

Parameters:
Name Type Argument Description
tileCoord ol.TileCoord Tile coordinate.
callback function(this: T, number, ol.TileRange): boolean Callback.
obj T <optional>
(Optional) Object.
Inherited From:
Source:
  • tilegrid.js, line 102

getMatrixId

Parameters:
Name Type Description
z number Z.
Source:
  • wmtstilegrid.js, line 42
Returns:
MatrixId..
Type
string

getMatrixIds

Source:
  • wmtstilegrid.js, line 51
Returns:
MatrixIds.
Type
Array.<string>

getOrigin

Parameters:
Name Type Description
z number Z.
Inherited From:
Source:
  • tilegrid.js, line 120
Returns:
Origin.
Type
ol.Coordinate

getPixelBoundsForTileCoordAndResolution

Parameters:
Name Type Description
tileCoord ol.TileCoord Tile coordinate.
resolution number Resolution.
Inherited From:
Source:
  • tilegrid.js, line 136
Returns:
Pixel bounds.
Type
ol.PixelBounds

getResolution

Parameters:
Name Type Description
z number Z.
Inherited From:
Source:
  • tilegrid.js, line 155
Returns:
Resolution.
Type
number

getResolutions

Inherited From:
Source:
  • tilegrid.js, line 164
Returns:
Resolutions.
Type
Array.<number>

getTileCoordCenter

Parameters:
Name Type Description
tileCoord ol.TileCoord Tile coordinate.
Inherited From:
Source:
  • tilegrid.js, line 216
Returns:
Tile center.
Type
ol.Coordinate

getTileCoordExtent

Parameters:
Name Type Description
tileCoord ol.TileCoord Tile coordinate.
Inherited From:
Source:
  • tilegrid.js, line 230
Returns:
Extent.
Type
ol.Extent

getTileCoordForCoordAndResolution

Get the tile coordinate for the given map coordinate and resolution. This method considers that coordinates that intersect tile boundaries should be assigned the higher tile coordinate.
Parameters:
Name Type Description
coordinate ol.Coordinate Coordinate.
resolution number Resolution.
Inherited From:
Source:
  • tilegrid.js, line 251
Returns:
Tile coordinate.
Type
ol.TileCoord

getTileCoordForCoordAndZ

Parameters:
Name Type Description
coordinate ol.Coordinate Coordinate.
z number Z.
Inherited From:
Source:
  • tilegrid.js, line 293
Returns:
Tile coordinate.
Type
ol.TileCoord

getTileCoordResolution

Parameters:
Name Type Description
tileCoord ol.TileCoord Tile coordinate.
Inherited From:
Source:
  • tilegrid.js, line 304
Returns:
Tile resolution.
Type
number

getTileRangeExtent

Parameters:
Name Type Description
z number Z.
tileRange ol.TileRange Tile range.
Inherited From:
Source:
  • tilegrid.js, line 174
Returns:
Extent.
Type
ol.Extent

getTileRangeForExtentAndResolution

Parameters:
Name Type Description
extent ol.Extent Extent.
resolution number Resolution.
Inherited From:
Source:
  • tilegrid.js, line 191
Returns:
Tile range.
Type
ol.TileRange

getTileRangeForExtentAndZ

Parameters:
Name Type Description
extent ol.Extent Extent.
z number Z.
Inherited From:
Source:
  • tilegrid.js, line 206
Returns:
Tile range.
Type
ol.TileRange

getTileSize

Parameters:
Name Type Description
z number Z.
Inherited From:
Source:
  • tilegrid.js, line 314
Returns:
Tile size.
Type
ol.Size

getZForResolution

Parameters:
Name Type Description
resolution number Resolution.
Inherited From:
Source:
  • tilegrid.js, line 329
Returns:
Z.
Type
number