Merge pull request #10840 from fredj/remove_inheritDoc

Remove inherit doc
This commit is contained in:
Frédéric Junod
2020-04-04 14:06:43 +02:00
committed by GitHub
120 changed files with 891 additions and 573 deletions

View File

@@ -262,7 +262,7 @@ class TileWMS extends TileImage {
}
/**
* @inheritDoc
* @return {number} Gutter.
*/
getGutter() {
return this.gutter_;
@@ -351,11 +351,12 @@ class TileWMS extends TileImage {
}
/**
* @inheritDoc
* Get the tile pixel ratio for this source.
* @param {number} pixelRatio Pixel ratio.
* @return {number} Tile pixel ratio.
*/
getTilePixelRatio(pixelRatio) {
return (!this.hidpi_ || this.serverType_ === undefined) ? 1 :
/** @type {number} */ (pixelRatio);
return (!this.hidpi_ || this.serverType_ === undefined) ? 1 : pixelRatio;
}
/**