diff --git a/src/ol/render/canvas/canvasreplay.js b/src/ol/render/canvas/canvasreplay.js index 05c089a75d..00e130f1ac 100644 --- a/src/ol/render/canvas/canvasreplay.js +++ b/src/ol/render/canvas/canvasreplay.js @@ -220,7 +220,8 @@ ol.render.canvas.Replay.prototype.beginGeometry = function(geometry, feature) { * @param {number} pixelRatio Pixel ratio. * @param {goog.vec.Mat4.Number} transform Transform. * @param {number} viewRotation View rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {Array.<*>} instructions Instructions array. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @param {ol.Extent=} opt_hitExtent Only check features that intersect this @@ -496,7 +497,8 @@ ol.render.canvas.Replay.prototype.replay_ = function( * @param {number} pixelRatio Pixel ratio. * @param {goog.vec.Mat4.Number} transform Transform. * @param {number} viewRotation View rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. */ ol.render.canvas.Replay.prototype.replay = function( context, pixelRatio, transform, viewRotation, skippedFeaturesHash) { @@ -510,7 +512,8 @@ ol.render.canvas.Replay.prototype.replay = function( * @param {CanvasRenderingContext2D} context Context. * @param {goog.vec.Mat4.Number} transform Transform. * @param {number} viewRotation View rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T=} opt_featureCallback Feature callback. * @param {ol.Extent=} opt_hitExtent Only check features that intersect this * extent. @@ -1863,7 +1866,8 @@ ol.render.canvas.ReplayGroup.prototype.finish = function() { * @param {ol.Coordinate} coordinate Coordinate. * @param {number} resolution Resolution. * @param {number} rotation Rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T} callback Feature callback. * @return {T|undefined} Callback result. * @template T @@ -1946,7 +1950,8 @@ ol.render.canvas.ReplayGroup.prototype.isEmpty = function() { * @param {number} pixelRatio Pixel ratio. * @param {goog.vec.Mat4.Number} transform Transform. * @param {number} viewRotation View rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. */ ol.render.canvas.ReplayGroup.prototype.replay = function( context, pixelRatio, transform, viewRotation, skippedFeaturesHash) { @@ -1995,7 +2000,8 @@ ol.render.canvas.ReplayGroup.prototype.replay = function( * @param {CanvasRenderingContext2D} context Context. * @param {goog.vec.Mat4.Number} transform Transform. * @param {number} viewRotation View rotation. - * @param {Object} skippedFeaturesHash Ids of features to skip + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T} featureCallback Feature callback. * @param {ol.Extent=} opt_hitExtent Only check features that intersect this * extent. diff --git a/src/ol/render/webgl/webglreplay.js b/src/ol/render/webgl/webglreplay.js index 482252ffd1..158d6cffa4 100644 --- a/src/ol/render/webgl/webglreplay.js +++ b/src/ol/render/webgl/webglreplay.js @@ -518,7 +518,8 @@ ol.render.webgl.ImageReplay.prototype.createTextures_ = * @param {number} contrast Global contrast. * @param {number} hue Global hue. * @param {number} saturation Global saturation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @param {boolean} oneByOne Draw features one-by-one for the hit-detecion. * @param {ol.Extent=} opt_hitExtent Hit extent: Only features intersecting @@ -657,7 +658,8 @@ ol.render.webgl.ImageReplay.prototype.replay = function(context, * @private * @param {WebGLRenderingContext} gl gl. * @param {ol.webgl.Context} context Context. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {Array.} textures Textures. * @param {Array.} groupIndices Texture group indices. */ @@ -705,7 +707,8 @@ ol.render.webgl.ImageReplay.prototype.drawReplay_ = * * @private * @param {WebGLRenderingContext} gl gl. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {Array.} textures Textures. * @param {Array.} groupIndices Texture group indices. * @param {number} elementType Element type. @@ -776,7 +779,8 @@ ol.render.webgl.ImageReplay.prototype.drawElements_ = function( * @private * @param {WebGLRenderingContext} gl gl. * @param {ol.webgl.Context} context Context. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @param {boolean} oneByOne Draw features one-by-one for the hit-detecion. * @param {ol.Extent=} opt_hitExtent Hit extent: Only features intersecting @@ -803,7 +807,8 @@ ol.render.webgl.ImageReplay.prototype.drawHitDetectionReplay_ = * @private * @param {WebGLRenderingContext} gl gl. * @param {ol.webgl.Context} context Context. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @return {T|undefined} Callback result. * @template T @@ -827,7 +832,8 @@ ol.render.webgl.ImageReplay.prototype.drawHitDetectionReplayAll_ = * @private * @param {WebGLRenderingContext} gl gl. * @param {ol.webgl.Context} context Context. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @param {ol.Extent=} opt_hitExtent Hit extent: Only features intersecting * this extent are checked. @@ -1063,7 +1069,8 @@ ol.render.webgl.ReplayGroup.prototype.isEmpty = function() { * @param {number} contrast Global contrast. * @param {number} hue Global hue. * @param {number} saturation Global saturation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. */ ol.render.webgl.ReplayGroup.prototype.replay = function(context, center, resolution, rotation, size, pixelRatio, @@ -1094,7 +1101,8 @@ ol.render.webgl.ReplayGroup.prototype.replay = function(context, * @param {number} contrast Global contrast. * @param {number} hue Global hue. * @param {number} saturation Global saturation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} featureCallback Feature callback. * @param {boolean} oneByOne Draw features one-by-one for the hit-detecion. * @param {ol.Extent=} opt_hitExtent Hit extent: Only features intersecting @@ -1136,7 +1144,8 @@ ol.render.webgl.ReplayGroup.prototype.replayHitDetection_ = function(context, * @param {number} contrast Global contrast. * @param {number} hue Global hue. * @param {number} saturation Global saturation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @param {function(ol.Feature): T|undefined} callback Feature callback. * @return {T|undefined} Callback result. * @template T @@ -1197,7 +1206,8 @@ ol.render.webgl.ReplayGroup.prototype.forEachFeatureAtCoordinate = function( * @param {number} contrast Global contrast. * @param {number} hue Global hue. * @param {number} saturation Global saturation. - * @param {Object} skippedFeaturesHash Ids of features to skip. + * @param {Object.} skippedFeaturesHash Ids of features + * to skip. * @return {boolean} Is there a feature at the given coordinate? */ ol.render.webgl.ReplayGroup.prototype.hasFeatureAtCoordinate = function(