Doc corrections
This commit is contained in:
+2
-2
@@ -4537,8 +4537,8 @@ olx.source.RasterOptions.prototype.lib;
|
|||||||
/**
|
/**
|
||||||
* By default, operations will be run in a single worker thread. To avoid using
|
* By default, operations will be run in a single worker thread. To avoid using
|
||||||
* workers altogether, set `threads: 0`. For pixel operations, operations can
|
* workers altogether, set `threads: 0`. For pixel operations, operations can
|
||||||
* be run in multiple worker threads. Note that there some additional overhead
|
* be run in multiple worker threads. Note that there is additional overhead in
|
||||||
* in transferring data to multiple workers, and that depending on the user's
|
* transferring data to multiple workers, and that depending on the user's
|
||||||
* system, it may not be possible to parallelize the work.
|
* system, it may not be possible to parallelize the work.
|
||||||
* @type {number|undefined}
|
* @type {number|undefined}
|
||||||
* @api
|
* @api
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ ol.raster.OperationType = {
|
|||||||
* an array of the same. The operations are called with a second "data"
|
* an array of the same. The operations are called with a second "data"
|
||||||
* argument, which can be used for storage. The data object is accessible
|
* argument, which can be used for storage. The data object is accessible
|
||||||
* from raster events, where it can be initialized in "beforeoperations" and
|
* from raster events, where it can be initialized in "beforeoperations" and
|
||||||
* accessed again in "afteroperations."
|
* accessed again in "afteroperations".
|
||||||
*
|
*
|
||||||
* @typedef {function((Array.<ol.raster.Pixel>|Array.<ImageData>), Object):
|
* @typedef {function((Array.<ol.raster.Pixel>|Array.<ImageData>), Object):
|
||||||
* (Array.<ol.raster.Pixel>|Array.<ImageData>)}
|
* (Array.<ol.raster.Pixel>|Array.<ImageData>)}
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ goog.require('ol.source.Tile');
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
* An source that transforms data from any number of input sources source using
|
* A source that transforms data from any number of input sources using an array
|
||||||
* an array of {@link ol.raster.Operation} functions to transform input pixel
|
* of {@link ol.raster.Operation} functions to transform input pixel values into
|
||||||
* values into output pixel values.
|
* output pixel values.
|
||||||
*
|
*
|
||||||
* @constructor
|
* @constructor
|
||||||
* @extends {ol.source.Image}
|
* @extends {ol.source.Image}
|
||||||
|
|||||||
Reference in New Issue
Block a user