Class: ol.source.DebugTileSource

ol.source.DebugTileSource

new DebugTileSource

Parameters:
Name Type Description
options ol.source.DebugTileSourceOptions Options.
Source:
  • debugtilesource.js, line 89

Extends

Members

isReady

Inherited From:
Source:
  • source.js, line 95

<protected> tileGrid :ol.tilegrid.TileGrid

Inherited From:
Source:
  • tilesource.js, line 42

useTile

Marks a tile coord as being used, without triggering a load.
Inherited From:
Source:
  • tilesource.js, line 147

Methods

canExpireCache

Source:
  • debugtilesource.js, line 110

<protected> dispatchLoadEvent

Inherited From:
Source:
  • source.js, line 57

expireCache

Source:
  • debugtilesource.js, line 118

findLoadedTiles

Look for loaded tiles over a given tile range and zoom level. Adds properties to the provided lookup representing key/tile pairs for already loaded tiles.
Parameters:
Name Type Description
loadedTilesByZ Object.<number, Object.<string, ol.Tile>> A lookup of loaded tiles by zoom level.
isLoaded function(ol.Tile): boolean A function to determine if a tile is fully loaded.
z number Zoom level.
tileRange ol.TileRange Tile range.
Inherited From:
Source:
  • tilesource.js, line 74
Returns:
The tile range is fully covered with loaded tiles.
Type
boolean

getAttributions

Inherited From:
Source:
  • source.js, line 65
Returns:
Attributions.
Type
Array.<ol.Attribution>

getExtent

Inherited From:
Source:
  • source.js, line 73
Returns:
Extent.
Type
ol.Extent

getProjection

Inherited From:
Source:
  • source.js, line 81
Returns:
Projection.
Type
ol.Projection

getResolutions

Inherited From:
Source:
  • tilesource.js, line 104

getTile

Source:
  • debugtilesource.js, line 126

getTileGrid

Inherited From:
Source:
  • tilesource.js, line 119
Returns:
Tile grid.
Type
ol.tilegrid.TileGrid

setAttributions

Parameters:
Name Type Description
attributions Array.<ol.Attribution> Attributions.
Inherited From:
Source:
  • source.js, line 101

setExtent

Parameters:
Name Type Description
extent ol.Extent Extent.
Inherited From:
Source:
  • source.js, line 109

setProjection

Parameters:
Name Type Description
projection ol.Projection Projetion.
Inherited From:
Source:
  • source.js, line 117

useLowResolutionTiles

Parameters:
Name Type Description
z number Z.
extent ol.Extent Extent.
Inherited From:
Source:
  • tilesource.js, line 128