Raster source for composing pixels from other sources

This commit is contained in:
Tim Schaub
2015-02-05 14:15:45 -07:00
parent 49cc39c4dd
commit acc97a53eb
7 changed files with 415 additions and 1 deletions

View File

@@ -4498,6 +4498,31 @@ olx.source.ImageVectorOptions.prototype.source;
olx.source.ImageVectorOptions.prototype.style;
/**
* @typedef {{sources: Array.<ol.source.Source>,
* operations: (Array.<ol.raster.Operation>|undefined)}}
* @api
*/
olx.source.RasterOptions;
/**
* Input sources.
* @type {Array.<ol.source.Source>}
* @api
*/
olx.source.RasterOptions.prototype.sources;
/**
* Pixel operations. Operations will be called with pixels from input sources
* and the final output will be assigned to the raster source.
* @type {Array.<ol.raster.Operation>|undefined}
* @api
*/
olx.source.RasterOptions.prototype.operations;
/**
* @typedef {{attributions: (Array.<ol.Attribution>|undefined),
* crossOrigin: (null|string|undefined),