diff --git a/src/ol/format/WFS.js b/src/ol/format/WFS.js index c58ef3dc8c..c804c06532 100644 --- a/src/ol/format/WFS.js +++ b/src/ol/format/WFS.js @@ -67,6 +67,24 @@ import {createElementNS, isDocument, isNode, makeArrayPusher, makeChildAppender, */ +/** + * Number of features; bounds/extent. + * @typedef {Object} FeatureCollectionMetadata + * @property {number} numberOfFeatures + * @property {module:ol/extent~Extent} bounds + */ + + +/** + * Total deleted; total inserted; total updated; array of insert ids. + * @typedef {Object} TransactionResponse + * @property {number} totalDeleted + * @property {number} totalInserted + * @property {number} totalUpdated + * @property {Array.} insertIds + */ + + /** * @type {string} */ @@ -215,7 +233,7 @@ WFS.prototype.readFeaturesFromNode = function(node, opt_options) { * Read transaction response of the source. * * @param {Document|Node|Object|string} source Source. - * @return {ol.WFSTransactionResponse|undefined} Transaction response. + * @return {module:ol/format/WFS~TransactionResponse|undefined} Transaction response. * @api */ WFS.prototype.readTransactionResponse = function(source) { @@ -237,7 +255,7 @@ WFS.prototype.readTransactionResponse = function(source) { * Read feature collection metadata of the source. * * @param {Document|Node|Object|string} source Source. - * @return {ol.WFSFeatureCollectionMetadata|undefined} + * @return {module:ol/format/WFS~FeatureCollectionMetadata|undefined} * FeatureCollection metadata. * @api */ @@ -259,7 +277,7 @@ WFS.prototype.readFeatureCollectionMetadata = function(source) { /** * @param {Document} doc Document. - * @return {ol.WFSFeatureCollectionMetadata|undefined} + * @return {module:ol/format/WFS~FeatureCollectionMetadata|undefined} * FeatureCollection metadata. */ WFS.prototype.readFeatureCollectionMetadataFromDocument = function(doc) { @@ -286,7 +304,7 @@ const FEATURE_COLLECTION_PARSERS = { /** * @param {Node} node Node. - * @return {ol.WFSFeatureCollectionMetadata|undefined} + * @return {module:ol/format/WFS~FeatureCollectionMetadata|undefined} * FeatureCollection metadata. */ WFS.prototype.readFeatureCollectionMetadataFromNode = function(node) { @@ -295,7 +313,7 @@ WFS.prototype.readFeatureCollectionMetadataFromNode = function(node) { node.getAttribute('numberOfFeatures')); result['numberOfFeatures'] = value; return pushParseAndPop( - /** @type {ol.WFSFeatureCollectionMetadata} */ (result), + /** @type {module:ol/format/WFS~FeatureCollectionMetadata} */ (result), FEATURE_COLLECTION_PARSERS, node, [], this.gmlFormat_); }; @@ -384,7 +402,7 @@ const TRANSACTION_RESPONSE_PARSERS = { /** * @param {Document} doc Document. - * @return {ol.WFSTransactionResponse|undefined} Transaction response. + * @return {module:ol/format/WFS~TransactionResponse|undefined} Transaction response. */ WFS.prototype.readTransactionResponseFromDocument = function(doc) { for (let n = doc.firstChild; n; n = n.nextSibling) { @@ -398,11 +416,11 @@ WFS.prototype.readTransactionResponseFromDocument = function(doc) { /** * @param {Node} node Node. - * @return {ol.WFSTransactionResponse|undefined} Transaction response. + * @return {module:ol/format/WFS~TransactionResponse|undefined} Transaction response. */ WFS.prototype.readTransactionResponseFromNode = function(node) { return pushParseAndPop( - /** @type {ol.WFSTransactionResponse} */({}), + /** @type {module:ol/format/WFS~TransactionResponse} */({}), TRANSACTION_RESPONSE_PARSERS, node, []); }; diff --git a/src/ol/source/CartoDB.js b/src/ol/source/CartoDB.js index ae4014b4c4..e426ca9935 100644 --- a/src/ol/source/CartoDB.js +++ b/src/ol/source/CartoDB.js @@ -8,7 +8,7 @@ import XYZ from '../source/XYZ.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/Cluster.js b/src/ol/source/Cluster.js index f577b63da6..0e00c6f72d 100644 --- a/src/ol/source/Cluster.js +++ b/src/ol/source/Cluster.js @@ -14,7 +14,7 @@ import VectorSource from '../source/Vector.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [distance=20] Minimum distance in pixels between clusters. * @property {module:ol/extent~Extent} [extent] Extent. * @property {ol.format.Feature} [format] Format. diff --git a/src/ol/source/Image.js b/src/ol/source/Image.js index 44a091abd7..162f88b15b 100644 --- a/src/ol/source/Image.js +++ b/src/ol/source/Image.js @@ -69,7 +69,7 @@ inherits(ImageSourceEvent, Event); /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] + * @property {module:ol/source/Source~AttributionLike} [attributions] * @property {module:ol/extent~Extent} [extent] * @property {module:ol/proj~ProjectionLike} projection * @property {Array.} [resolutions] diff --git a/src/ol/source/ImageArcGISRest.js b/src/ol/source/ImageArcGISRest.js index 3f92e93af6..284460108b 100644 --- a/src/ol/source/ImageArcGISRest.js +++ b/src/ol/source/ImageArcGISRest.js @@ -14,7 +14,7 @@ import {appendParams} from '../uri.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to * access pixel data with the Canvas renderer. See diff --git a/src/ol/source/ImageCanvas.js b/src/ol/source/ImageCanvas.js index 8f245b2ef1..e9b778d11e 100644 --- a/src/ol/source/ImageCanvas.js +++ b/src/ol/source/ImageCanvas.js @@ -8,7 +8,7 @@ import ImageSource from '../source/Image.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {ol.CanvasFunctionType} [canvasFunction] Canvas function. * The function returning the canvas element used by the source * as an image. The arguments passed to the function are: `{module:ol/extent~Extent}` the diff --git a/src/ol/source/ImageStatic.js b/src/ol/source/ImageStatic.js index bcead03bb4..9174459a74 100644 --- a/src/ol/source/ImageStatic.js +++ b/src/ol/source/ImageStatic.js @@ -13,7 +13,7 @@ import ImageSource, {defaultImageLoadFunction} from '../source/Image.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to * access pixel data with the Canvas renderer. See diff --git a/src/ol/source/ImageWMS.js b/src/ol/source/ImageWMS.js index 1af2be110c..52be3172cb 100644 --- a/src/ol/source/ImageWMS.js +++ b/src/ol/source/ImageWMS.js @@ -19,7 +19,7 @@ import {appendParams} from '../uri.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to * access pixel data with the Canvas renderer. See diff --git a/src/ol/source/OSM.js b/src/ol/source/OSM.js index 173b53a60f..785c802332 100644 --- a/src/ol/source/OSM.js +++ b/src/ol/source/OSM.js @@ -19,7 +19,7 @@ export const ATTRIBUTION = '© ' + /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/Raster.js b/src/ol/source/Raster.js index e70ca6d9fb..66e69c74a2 100644 --- a/src/ol/source/Raster.js +++ b/src/ol/source/Raster.js @@ -22,6 +22,25 @@ import TileSource from '../source/Tile.js'; import {create as createTransform} from '../transform.js'; +/** + * A function that takes an array of input data, performs some operation, and + * returns an array of output data. + * For `pixel` type operations, the function will be called with an array of + * pixels, where each pixel is an array of four numbers (`[r, g, b, a]`) in the + * range of 0 - 255. It should return a single pixel array. + * For `'image'` type operations, functions will be called with an array of + * {@link ImageData https://developer.mozilla.org/en-US/docs/Web/API/ImageData} + * and should return a single {@link ImageData + * https://developer.mozilla.org/en-US/docs/Web/API/ImageData}. The operations + * are called with a second "data" argument, which can be used for storage. The + * data object is accessible from raster events, where it can be initialized in + * "beforeoperations" and accessed again in "afteroperations". + * + * @typedef {function((Array.>|Array.), Object): + * (Array.|ImageData)} Operation + */ + + /** * @enum {string} */ @@ -85,7 +104,7 @@ inherits(RasterSourceEvent, Event); /** * @typedef {Object} Options * @property {Array.} sources Input sources. - * @property {ol.RasterOperation} [operation] Raster operation. + * @property {module:ol/source/Raster~Operation} [operation] Raster operation. * The operation will be called with data from input sources * and the output will be assigned to the raster source. * @property {Object} [lib] Functions that will be made available to operations run in a worker. @@ -105,7 +124,7 @@ inherits(RasterSourceEvent, Event); /** * @classdesc * A source that transforms data from any number of input sources using an - * {@link ol.RasterOperation} function to transform input pixel values into + * {@link module:ol/source/Raster~Operation} function to transform input pixel values into * output pixel values. * * @constructor @@ -222,7 +241,7 @@ inherits(RasterSource, ImageSource); /** * Set the operation. - * @param {ol.RasterOperation} operation New operation. + * @param {module:ol/source/Raster~Operation} operation New operation. * @param {Object=} opt_lib Functions that will be available to operations run * in a worker. * @api diff --git a/src/ol/source/Source.js b/src/ol/source/Source.js index 2f8c93b18f..866845cdeb 100644 --- a/src/ol/source/Source.js +++ b/src/ol/source/Source.js @@ -8,9 +8,29 @@ import {get as getProjection} from '../proj.js'; import SourceState from '../source/State.js'; +/** + * A function that returns a string or an array of strings representing source + * attributions. + * + * @typedef {function(module:ol/PluggableMap~FrameState): (string|Array.)} Attribution + */ + + +/** + * A type that can be used to provide attribution information for data sources. + * + * It represents either + * * a simple string (e.g. `'© Acme Inc.'`) + * * an array of simple strings (e.g. `['© Acme Inc.', '© Bacme Inc.']`) + * * a function that returns a string or array of strings (`{@link module:ol/source/Source~Attribution}`) + * + * @typedef {string|Array.|module:ol/source/Source~Attribution} AttributionLike + */ + + /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] + * @property {module:ol/source/Source~AttributionLike} [attributions] * @property {module:ol/proj~ProjectionLike} projection * @property {module:ol/source/State~State} [state] * @property {boolean} [wrapX] @@ -43,7 +63,7 @@ const Source = function(options) { /** * @private - * @type {?ol.Attribution} + * @type {?module:ol/source/Source~Attribution} */ this.attributions_ = this.adaptAttributions_(options.attributions); @@ -66,8 +86,8 @@ inherits(Source, BaseObject); /** * Turns the attributions option into an attributions function. - * @param {ol.AttributionLike|undefined} attributionLike The attribution option. - * @return {?ol.Attribution} An attribution function (or null). + * @param {module:ol/source/Source~AttributionLike|undefined} attributionLike The attribution option. + * @return {?module:ol/source/Source~Attribution} An attribution function (or null). */ Source.prototype.adaptAttributions_ = function(attributionLike) { if (!attributionLike) { @@ -104,7 +124,7 @@ Source.prototype.forEachFeatureAtCoordinate = UNDEFINED; /** * Get the attribution function for the source. - * @return {?ol.Attribution} Attribution function. + * @return {?module:ol/source/Source~Attribution} Attribution function. */ Source.prototype.getAttributions = function() { return this.attributions_; @@ -157,8 +177,8 @@ Source.prototype.refresh = function() { /** * Set the attributions of the source. - * @param {ol.AttributionLike|undefined} attributions Attributions. - * Can be passed as `string`, `Array`, `{@link ol.Attribution}`, + * @param {module:ol/source/Source~AttributionLike|undefined} attributions Attributions. + * Can be passed as `string`, `Array`, `{@link module:ol/source/Source~Attribution}`, * or `undefined`. * @api */ diff --git a/src/ol/source/Tile.js b/src/ol/source/Tile.js index b746695f48..a876eb790f 100644 --- a/src/ol/source/Tile.js +++ b/src/ol/source/Tile.js @@ -14,7 +14,7 @@ import {wrapX, getForProjection as getTileGridForProjection} from '../tilegrid.j /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] + * @property {module:ol/source/Source~AttributionLike} [attributions] * @property {number} [cacheSize] * @property {module:ol/extent~Extent} [extent] * @property {boolean} [opaque] diff --git a/src/ol/source/TileImage.js b/src/ol/source/TileImage.js index 8aba8fa4f5..e9a8fe4e2a 100644 --- a/src/ol/source/TileImage.js +++ b/src/ol/source/TileImage.js @@ -16,7 +16,7 @@ import {getForProjection as getTileGridForProjection} from '../tilegrid.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/TileJSON.js b/src/ol/source/TileJSON.js index ca7d5e4ae6..1b179b8f58 100644 --- a/src/ol/source/TileJSON.js +++ b/src/ol/source/TileJSON.js @@ -19,7 +19,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/TileWMS.js b/src/ol/source/TileWMS.js index c30f0ec38c..b8c5b7fe85 100644 --- a/src/ol/source/TileWMS.js +++ b/src/ol/source/TileWMS.js @@ -19,7 +19,7 @@ import {appendParams} from '../uri.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/UrlTile.js b/src/ol/source/UrlTile.js index 8d4f348362..4d509797f9 100644 --- a/src/ol/source/UrlTile.js +++ b/src/ol/source/UrlTile.js @@ -10,7 +10,7 @@ import {getKeyZXY} from '../tilecoord.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] + * @property {module:ol/source/Source~AttributionLike} [attributions] * @property {number} [cacheSize] * @property {module:ol/extent~Extent} [extent] * @property {boolean} [opaque] diff --git a/src/ol/source/Vector.js b/src/ol/source/Vector.js index ee9e54ad24..ce6b842395 100644 --- a/src/ol/source/Vector.js +++ b/src/ol/source/Vector.js @@ -50,7 +50,7 @@ inherits(VectorSourceEvent, Event); /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {Array.|ol.Collection.} [features] * Features. If provided as {@link ol.Collection}, the features in the source * and the collection will stay in sync. diff --git a/src/ol/source/VectorTile.js b/src/ol/source/VectorTile.js index 8b2a14b02c..e68a5f20a6 100644 --- a/src/ol/source/VectorTile.js +++ b/src/ol/source/VectorTile.js @@ -12,7 +12,7 @@ import {createXYZ, extentFromProjection, createForProjection} from '../tilegrid. /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=128] Cache size. * @property {module:ol/format/Feature~FeatureFormat} [format] Feature format for tiles. Used and required by the default. * @property {boolean} [overlaps=true] This source may have overlapping geometries. Setting this diff --git a/src/ol/source/WMTS.js b/src/ol/source/WMTS.js index 6b63480dfb..02a5703ba4 100644 --- a/src/ol/source/WMTS.js +++ b/src/ol/source/WMTS.js @@ -14,7 +14,7 @@ import {appendParams} from '../uri.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/XYZ.js b/src/ol/source/XYZ.js index 2af19e8a34..c6c2f252f0 100644 --- a/src/ol/source/XYZ.js +++ b/src/ol/source/XYZ.js @@ -7,7 +7,7 @@ import {createXYZ, extentFromProjection} from '../tilegrid.js'; /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/source/Zoomify.js b/src/ol/source/Zoomify.js index 86d67f14a8..6551dfe72a 100644 --- a/src/ol/source/Zoomify.js +++ b/src/ol/source/Zoomify.js @@ -81,7 +81,7 @@ CustomTile.prototype.getImage = function() { /** * @typedef {Object} Options - * @property {ol.AttributionLike} [attributions] Attributions. + * @property {module:ol/source/Source~AttributionLike} [attributions] Attributions. * @property {number} [cacheSize=2048] Cache size. * @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that * you must provide a `crossOrigin` value if you are using the WebGL renderer or if you want to diff --git a/src/ol/style/RegularShape.js b/src/ol/style/RegularShape.js index f15784f29c..b84510b24a 100644 --- a/src/ol/style/RegularShape.js +++ b/src/ol/style/RegularShape.js @@ -33,6 +33,18 @@ import ImageStyle from '../style/Image.js'; */ +/** + * @typedef {Object} RenderOptions + * @property {module:ol/colorlike~ColorLike} [strokeStyle] + * @property {number} strokeWidth + * @property {number} size + * @property {string} lineCap + * @property {Array.} lineDash + * @property {string} lineJoin + * @property {number} miterLimit + */ + + /** * @classdesc * Set regular shape style for vector features. The resulting shape will be @@ -378,7 +390,7 @@ RegularShape.prototype.render_ = function(atlasManager) { let size = 2 * (this.radius_ + strokeWidth) + 1; - /** @type {ol.RegularShapeRenderOptions} */ + /** @type {module:ol/style/RegularShape~RenderOptions} */ const renderOptions = { strokeStyle: strokeStyle, strokeWidth: strokeWidth, @@ -441,7 +453,7 @@ RegularShape.prototype.render_ = function(atlasManager) { /** * @private - * @param {ol.RegularShapeRenderOptions} renderOptions Render options. + * @param {module:ol/style/RegularShape~RenderOptions} renderOptions Render options. * @param {CanvasRenderingContext2D} context The rendering context. * @param {number} x The origin for the symbol (x). * @param {number} y The origin for the symbol (y). @@ -502,7 +514,7 @@ RegularShape.prototype.draw_ = function(renderOptions, context, x, y) { /** * @private - * @param {ol.RegularShapeRenderOptions} renderOptions Render options. + * @param {module:ol/style/RegularShape~RenderOptions} renderOptions Render options. */ RegularShape.prototype.createHitDetectionCanvas_ = function(renderOptions) { this.hitDetectionImageSize_ = [renderOptions.size, renderOptions.size]; @@ -522,7 +534,7 @@ RegularShape.prototype.createHitDetectionCanvas_ = function(renderOptions) { /** * @private - * @param {ol.RegularShapeRenderOptions} renderOptions Render options. + * @param {module:ol/style/RegularShape~RenderOptions} renderOptions Render options. * @param {CanvasRenderingContext2D} context The context. * @param {number} x The origin for the symbol (x). * @param {number} y The origin for the symbol (y). diff --git a/src/ol/typedefs.js b/src/ol/typedefs.js index a4819b150a..eabae97392 100644 --- a/src/ol/typedefs.js +++ b/src/ol/typedefs.js @@ -21,28 +21,6 @@ const ol = {}; */ -/** - * A type that can be used to provide attribution information for data sources. - * - * It represents either - * * a simple string (e.g. `'© Acme Inc.'`) - * * an array of simple strings (e.g. `['© Acme Inc.', '© Bacme Inc.']`) - * * a function that returns a string or array of strings (`{@link ol.Attribution}`) - * - * @typedef {string|Array.|ol.Attribution} - */ -ol.AttributionLike; - - -/** - * A function that returns a string or an array of strings representing source - * attributions. - * - * @typedef {function(olx.FrameState): (string|Array.)} - */ -ol.Attribution; - - /** * @typedef {{fillStyle: module:ol/colorlike~ColorLike}} */ @@ -128,55 +106,3 @@ ol.DeclutterGroup; * @typedef {function(module:ol/extent~Extent, number): Array.} */ ol.LoadingStrategy; - - -/** - * A function that takes an array of input data, performs some operation, and - * returns an array of output data. - * For `pixel` type operations, the function will be called with an array of - * pixels, where each pixel is an array of four numbers (`[r, g, b, a]`) in the - * range of 0 - 255. It should return a single pixel array. - * For `'image'` type operations, functions will be called with an array of - * {@link ImageData https://developer.mozilla.org/en-US/docs/Web/API/ImageData} - * and should return a single {@link ImageData - * https://developer.mozilla.org/en-US/docs/Web/API/ImageData}. The operations - * are called with a second "data" argument, which can be used for storage. The - * data object is accessible from raster events, where it can be initialized in - * "beforeoperations" and accessed again in "afteroperations". - * - * @typedef {function((Array.>|Array.), Object): - * (Array.|ImageData)} - */ -ol.RasterOperation; - - -/** - * @typedef {{ - * strokeStyle: (module:ol/colorlike~ColorLike|undefined), - * strokeWidth: number, - * size: number, - * lineCap: string, - * lineDash: Array., - * lineJoin: string, - * miterLimit: number - * }} - */ -ol.RegularShapeRenderOptions; - - -/** - * Number of features; bounds/extent. - * @typedef {{numberOfFeatures: number, - * bounds: module:ol/extent~Extent}} - */ -ol.WFSFeatureCollectionMetadata; - - -/** - * Total deleted; total inserted; total updated; array of insert ids. - * @typedef {{totalDeleted: number, - * totalInserted: number, - * totalUpdated: number, - * insertIds: Array.}} - */ -ol.WFSTransactionResponse;