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 96
-
<protected> tileGrid :ol.tilegrid.TileGrid
-
- Inherited From:
- Source:
- tilesource.js, line 50
-
useTile
-
Marks a tile coord as being used, without triggering a load.
- Inherited From:
- Source:
- tilesource.js, line 166
Methods
-
canExpireCache
-
- Source:
- debugtilesource.js, line 111
-
<protected> dispatchLoadEvent
-
- Inherited From:
- Source:
- source.js, line 58
-
expireCache
-
- Source:
- debugtilesource.js, line 119
-
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 loadedTilesByZObject.<number, Object.<string, ol.Tile>> A lookup of loaded tiles by zoom level. getTileIfLoadedfunction(ol.TileCoord): ol.Tile A function that returns the tile only if it is fully loaded. znumber Zoom level. tileRangeol.TileRange Tile range. - Inherited From:
- Source:
- tilesource.js, line 82
Returns:
The tile range is fully covered with loaded tiles.- Type
- boolean
-
getAttributions
-
- Inherited From:
- Source:
- source.js, line 66
Returns:
Attributions.- Type
- Array.<ol.Attribution>
-
getExtent
-
- Inherited From:
- Source:
- source.js, line 74
Returns:
Extent.- Type
- ol.Extent
-
getOpaque
-
- Inherited From:
- Source:
- tilesource.js, line 112
Returns:
Opaque.- Type
- boolean
-
getProjection
-
- Inherited From:
- Source:
- source.js, line 82
Returns:
Projection.- Type
- ol.Projection
-
getResolutions
-
- Inherited From:
- Source:
- tilesource.js, line 120
-
getTile
-
- Source:
- debugtilesource.js, line 127
-
getTileGrid
-
- Inherited From:
- Source:
- tilesource.js, line 137
Returns:
Tile grid.- Type
- ol.tilegrid.TileGrid
-
setAttributions
-
Parameters:
Name Type Description attributionsArray.<ol.Attribution> Attributions. - Inherited From:
- Source:
- source.js, line 102
-
setExtent
-
Parameters:
Name Type Description extentol.Extent Extent. - Inherited From:
- Source:
- source.js, line 110
-
setProjection
-
Parameters:
Name Type Description projectionol.Projection Projetion. - Inherited From:
- Source:
- source.js, line 118
-
useLowResolutionTiles
-
Parameters:
Name Type Description znumber Z. extentol.Extent Extent. tileGridol.tilegrid.TileGrid Tile grid. - Inherited From:
- Source:
- tilesource.js, line 147