Class: ol.tilegrid.XYZ

ol.tilegrid.XYZ

new XYZ

Parameters:
Name Type Description
xyzOptions ol.tilegrid.XYZOptions XYZ options.
Source:
  • xyztilegrid.js, line 16

Extends

Methods

forEachTileCoordParentTileRange

Source:
  • xyztilegrid.js, line 40

getExtent

Inherited From:
Source:
  • tilegrid.js, line 103
Returns:
Extent.
Type
ol.Extent

getOrigin

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

getPixelBoundsForTileCoordAndResolution

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

getResolution

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

getResolutions

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

getTileCoordCenter

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

getTileCoordExtent

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

getTileCoordForCoordAndResolution

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

getTileCoordForCoordAndZ

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

getTileCoordResolution

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

getTileRangeExtent

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

getTileRangeForExtentAndResolution

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

getTileRangeForExtentAndZ

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

getTileSize

Inherited From:
Source:
  • tilegrid.js, line 303
Returns:
Tile size.
Type
ol.Size

getZForResolution

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