Improve API docs

This commit is contained in:
ahocevar
2018-05-28 10:39:29 +02:00
parent 93287cb9fe
commit f5399de58d

View File

@@ -113,7 +113,8 @@ inherits(RasterSourceEvent, Event);
/**
* @typedef {Object} Options
* @property {Array.<module:ol/source/Source|module:ol/layer/Layer>} sources Input sources or layers.
* @property {Array.<module:ol/source/Source|module:ol/layer/Layer>} sources Input
* sources or layers. Vector layers must be configured with `renderMode: 'image'`.
* @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.