Remove ol.raster namespace
Now used only for 1 typedefs and 1 enum, it serves little purpose, so the typedef is renamed in the ol namespace, and the enum moved to rastersource.js
This commit is contained in:
+5
-4
@@ -5028,10 +5028,11 @@ olx.source.ImageVectorOptions.prototype.style;
|
||||
|
||||
/**
|
||||
* @typedef {{sources: Array.<ol.source.Source>,
|
||||
* operation: (ol.raster.Operation|undefined),
|
||||
* operation: (ol.RasterOperation|undefined),
|
||||
* lib: (Object|undefined),
|
||||
* threads: (number|undefined),
|
||||
* operationType: (ol.raster.OperationType|undefined)}}
|
||||
* operationType: (ol.RasterOperationType|undefined)}}
|
||||
* @api
|
||||
*/
|
||||
olx.source.RasterOptions;
|
||||
|
||||
@@ -5047,7 +5048,7 @@ olx.source.RasterOptions.prototype.sources;
|
||||
/**
|
||||
* Raster operation. The operation will be called with data from input sources
|
||||
* and the output will be assigned to the raster source.
|
||||
* @type {ol.raster.Operation|undefined}
|
||||
* @type {ol.RasterOperation|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.RasterOptions.prototype.operation;
|
||||
@@ -5078,7 +5079,7 @@ olx.source.RasterOptions.prototype.threads;
|
||||
* `'pixel'` operations are assumed, and operations will be called with an
|
||||
* array of pixels from input sources. If set to `'image'`, operations will
|
||||
* be called with an array of ImageData objects from input sources.
|
||||
* @type {ol.raster.OperationType|undefined}
|
||||
* @type {ol.RasterOperationType|undefined}
|
||||
* @api
|
||||
*/
|
||||
olx.source.RasterOptions.prototype.operationType;
|
||||
|
||||
Reference in New Issue
Block a user