Merge pull request #8602 from fredj/layer_map_opt_typedef

Add missing map property in ol/layer/Layer constructor options
This commit is contained in:
Frédéric Junod
2018-09-08 09:59:20 +02:00
committed by GitHub

View File

@@ -29,6 +29,7 @@ import SourceState from '../source/State.js';
* @property {import("../source/Source.js").default} [source] Source for this layer. If not provided to the constructor,
* the source can be set by calling {@link module:ol/layer/Layer#setSource layer.setSource(source)} after
* construction.
* @property {import("../PluggableMap.js").default} [map] Map.
*/