Replace google closure syntax = with brackets around name

This commit is contained in:
Simon Seyock
2021-02-03 14:06:02 +01:00
parent c15faa19fc
commit 8facb252f1
185 changed files with 569 additions and 569 deletions

View File

@@ -32,7 +32,7 @@ class ReprojImage extends ImageBase {
* @param {number} pixelRatio Pixel ratio.
* @param {FunctionType} getImageFunction
* Function returning source images (extent, resolution, pixelRatio).
* @param {object=} opt_contextOptions Properties to set on the canvas context.
* @param {object} [opt_contextOptions] Properties to set on the canvas context.
*/
constructor(
sourceProj,

View File

@@ -37,9 +37,9 @@ class ReprojTile extends Tile {
* @param {number} gutter Gutter of the source tiles.
* @param {FunctionType} getTileFunction
* Function returning source tiles (z, x, y, pixelRatio).
* @param {number=} opt_errorThreshold Acceptable reprojection error (in px).
* @param {boolean=} opt_renderEdges Render reprojection edges.
* @param {object=} opt_contextOptions Properties to set on the canvas context.
* @param {number} [opt_errorThreshold] Acceptable reprojection error (in px).
* @param {boolean} [opt_renderEdges] Render reprojection edges.
* @param {object} [opt_contextOptions] Properties to set on the canvas context.
*/
constructor(
sourceProj,