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

@@ -172,10 +172,12 @@ class TileArcGISRest 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_ ? /** @type {number} */ (pixelRatio) : 1;
return this.hidpi_ ? pixelRatio : 1;
}
/**