Remove all inheritDoc tags from src/ol/source

This commit is contained in:
Frederic Junod
2020-03-26 11:37:22 +01:00
parent da8ef43db7
commit 615ae71a8f
19 changed files with 112 additions and 54 deletions
+13 -7
View File
@@ -162,7 +162,8 @@ export class CustomTile extends Tile {
/**
* @inheritDoc
* Return the key to be used for all tiles in the source.
* @return {string} The key for all tiles.
*/
getKey() {
return this.src_;
@@ -244,7 +245,6 @@ export class CustomTile extends Tile {
/**
* @override
*/
load() {
if (this.preemptive_) {
@@ -467,14 +467,17 @@ class UTFGrid extends TileSource {
/**
* @inheritDoc
* @param {number} z Tile coordinate z.
* @param {number} x Tile coordinate x.
* @param {number} y Tile coordinate y.
* @param {number} pixelRatio Pixel ratio.
* @param {import("../proj/Projection.js").default} projection Projection.
* @return {!CustomTile} Tile.
*/
getTile(z, x, y, pixelRatio, projection) {
const tileCoordKey = getKeyZXY(z, x, y);
if (this.tileCache.containsKey(tileCoordKey)) {
return (
/** @type {!import("../Tile.js").default} */ (this.tileCache.get(tileCoordKey))
);
return this.tileCache.get(tileCoordKey);
} else {
const tileCoord = [z, x, y];
const urlTileCoord =
@@ -494,7 +497,10 @@ class UTFGrid extends TileSource {
/**
* @inheritDoc
* Marks a tile coord as being used, without triggering a load.
* @param {number} z Tile coordinate z.
* @param {number} x Tile coordinate x.
* @param {number} y Tile coordinate y.
*/
useTile(z, x, y) {
const tileCoordKey = getKeyZXY(z, x, y);