Remove 'struct' jsdoc tags, code indentation
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
* Base class for WFS GetFeature filters.
|
||||
*
|
||||
* @abstract
|
||||
* @struct
|
||||
*/
|
||||
class Filter {
|
||||
/**
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
/**
|
||||
* Context for drawing geometries. A vector context is available on render
|
||||
* events and does not need to be constructed directly.
|
||||
* @struct
|
||||
* @api
|
||||
*/
|
||||
class VectorContext {
|
||||
@@ -45,8 +44,7 @@ class VectorContext {
|
||||
drawFeature(feature, style) {}
|
||||
|
||||
/**
|
||||
* @param {module:ol/geom/GeometryCollection} geometryCollectionGeometry Geometry
|
||||
* collection.
|
||||
* @param {module:ol/geom/GeometryCollection} geometryCollectionGeometry Geometry collection.
|
||||
* @param {module:ol/Feature} feature Feature.
|
||||
*/
|
||||
drawGeometryCollection(geometryCollectionGeometry, feature) {}
|
||||
|
||||
@@ -12,7 +12,6 @@ class CanvasImageReplay extends CanvasReplay {
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree) {
|
||||
super(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree);
|
||||
|
||||
@@ -31,7 +31,6 @@ class CanvasImmediateRenderer extends VectorContext {
|
||||
* @param {module:ol/extent~Extent} extent Extent.
|
||||
* @param {module:ol/transform~Transform} transform Transform.
|
||||
* @param {number} viewRotation View rotation.
|
||||
* @struct
|
||||
*/
|
||||
constructor(context, pixelRatio, extent, transform, viewRotation) {
|
||||
super();
|
||||
|
||||
@@ -12,7 +12,6 @@ class CanvasLineStringReplay extends CanvasReplay {
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree) {
|
||||
super(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree);
|
||||
|
||||
@@ -18,7 +18,6 @@ class CanvasPolygonReplay extends CanvasReplay {
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree) {
|
||||
super(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree);
|
||||
|
||||
@@ -49,7 +49,6 @@ class CanvasReplay extends VectorContext {
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree) {
|
||||
super();
|
||||
|
||||
@@ -40,10 +40,8 @@ class CanvasReplayGroup extends ReplayGroup {
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay group can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree
|
||||
* for declutter processing in postrender.
|
||||
* @param {?} declutterTree Declutter tree for declutter processing in postrender.
|
||||
* @param {number=} opt_renderBuffer Optional rendering buffer.
|
||||
* @struct
|
||||
*/
|
||||
constructor(
|
||||
tolerance,
|
||||
|
||||
@@ -22,7 +22,6 @@ class CanvasTextReplay extends CanvasReplay {
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {boolean} overlaps The replay can have overlapping geometries.
|
||||
* @param {?} declutterTree Declutter tree.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree) {
|
||||
super(tolerance, maxExtent, resolution, pixelRatio, overlaps, declutterTree);
|
||||
|
||||
@@ -19,7 +19,6 @@ class WebGLCircleReplay extends WebGLReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -9,7 +9,6 @@ class WebGLImageReplay extends WebGLTextureReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -17,7 +17,6 @@ class WebGLImmediateRenderer extends VectorContext {
|
||||
* @param {module:ol/size~Size} size Size.
|
||||
* @param {module:ol/extent~Extent} extent Extent.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @struct
|
||||
*/
|
||||
constructor(context, center, resolution, rotation, size, extent, pixelRatio) {
|
||||
super();
|
||||
|
||||
@@ -39,7 +39,6 @@ class WebGLLineStringReplay extends WebGLReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -40,7 +40,6 @@ class WebGLPolygonReplay extends WebGLReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -19,7 +19,6 @@ class WebGLReplay extends VectorContext {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super();
|
||||
@@ -186,8 +185,7 @@ class WebGLReplay extends VectorContext {
|
||||
* @param {Object.<string, boolean>} skippedFeaturesHash Ids of features to skip.
|
||||
* @param {function((module:ol/Feature|module:ol/render/Feature)): T|undefined} featureCallback Feature callback.
|
||||
* @param {boolean} oneByOne Draw features one-by-one for the hit-detecion.
|
||||
* @param {module:ol/extent~Extent=} opt_hitExtent Hit extent: Only features intersecting
|
||||
* this extent are checked.
|
||||
* @param {module:ol/extent~Extent=} opt_hitExtent Hit extent: Only features intersecting this extent are checked.
|
||||
* @return {T|undefined} Callback result.
|
||||
* @template T
|
||||
*/
|
||||
@@ -235,8 +233,7 @@ class WebGLReplay extends VectorContext {
|
||||
* @param {Object.<string, boolean>} skippedFeaturesHash Ids of features to skip.
|
||||
* @param {function((module:ol/Feature|module:ol/render/Feature)): T|undefined} featureCallback Feature callback.
|
||||
* @param {boolean} oneByOne Draw features one-by-one for the hit-detecion.
|
||||
* @param {module:ol/extent~Extent=} opt_hitExtent Hit extent: Only features intersecting
|
||||
* this extent are checked.
|
||||
* @param {module:ol/extent~Extent=} opt_hitExtent Hit extent: Only features intersecting this extent are checked.
|
||||
* @return {T|undefined} Callback result.
|
||||
* @template T
|
||||
*/
|
||||
|
||||
@@ -37,7 +37,6 @@ class WebGLReplayGroup extends ReplayGroup {
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @param {number=} opt_renderBuffer Render buffer.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent, opt_renderBuffer) {
|
||||
super();
|
||||
|
||||
@@ -26,7 +26,6 @@ class WebGLTextReplay extends WebGLTextureReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -14,7 +14,6 @@ class WebGLTextureReplay extends WebGLReplay {
|
||||
/**
|
||||
* @param {number} tolerance Tolerance.
|
||||
* @param {module:ol/extent~Extent} maxExtent Max extent.
|
||||
* @struct
|
||||
*/
|
||||
constructor(tolerance, maxExtent) {
|
||||
super(tolerance, maxExtent);
|
||||
|
||||
@@ -14,7 +14,6 @@ class LayerRenderer extends Observable {
|
||||
|
||||
/**
|
||||
* @param {module:ol/layer/Layer} layer Layer.
|
||||
* @struct
|
||||
*/
|
||||
constructor(layer) {
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ class MapRenderer extends Disposable {
|
||||
|
||||
/**
|
||||
* @param {module:ol/PluggableMap} map Map.
|
||||
* @struct
|
||||
*/
|
||||
constructor(map) {
|
||||
super();
|
||||
|
||||
@@ -24,7 +24,6 @@ class LRUCache extends EventTarget {
|
||||
* items from the cache is the responsibility of the user.
|
||||
*
|
||||
* @fires module:ol/events/Event~Event
|
||||
* @struct
|
||||
* @template T
|
||||
* @param {number=} opt_highWaterMark High water mark.
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,6 @@ class PriorityQueue {
|
||||
*
|
||||
* @param {function(T): number} priorityFunction Priority function.
|
||||
* @param {function(T): string} keyFunction Key function.
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
constructor(priorityFunction, keyFunction) {
|
||||
|
||||
@@ -22,7 +22,6 @@ class RBush {
|
||||
*
|
||||
* @param {number=} opt_maxEntries Max entries.
|
||||
* @see https://github.com/mourner/rbush
|
||||
* @struct
|
||||
* @template T
|
||||
*/
|
||||
constructor(opt_maxEntries) {
|
||||
|
||||
@@ -31,7 +31,6 @@ class Atlas {
|
||||
* managed with the bin packing algorithm described in:
|
||||
* http://www.blackpawn.com/texts/lightmaps/
|
||||
*
|
||||
* @struct
|
||||
* @param {number} size The size in pixels of the sprite image.
|
||||
* @param {number} space The space in pixels between images.
|
||||
* Because texture coordinates are float values, the edges of
|
||||
|
||||
@@ -54,7 +54,6 @@ class AtlasManager {
|
||||
* If an application uses many images or very large images, it is recommended
|
||||
* to set a higher `size` value to avoid the creation of too many atlases.
|
||||
*
|
||||
* @struct
|
||||
* @api
|
||||
* @param {module:ol/style/AtlasManager~Options=} opt_options Options.
|
||||
*/
|
||||
|
||||
@@ -51,7 +51,6 @@ class WMTSTileGrid extends TileGrid {
|
||||
* Set the grid pattern for sources accessing WMTS tiled-image servers.
|
||||
*
|
||||
* @param {module:ol/tilegrid/WMTS~Options} options WMTS options.
|
||||
* @struct
|
||||
* @api
|
||||
*/
|
||||
constructor(options) {
|
||||
|
||||
Reference in New Issue
Block a user