Merge pull request #10840 from fredj/remove_inheritDoc
Remove inherit doc
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user