Add property to all layers api doc

This commit is contained in:
Olivier Guyot
2019-09-24 10:57:23 +02:00
parent 449686527b
commit 167fa6b8a0
7 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -17,6 +17,7 @@ import SourceState from '../source/State.js';
/**
* @typedef {Object} Options
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
* @property {number} [opacity=1] Opacity (0, 1).
* @property {boolean} [visible=true] Visibility.
* @property {import("../extent.js").Extent} [extent] The bounding extent for layer rendering. The layer will not be
@@ -35,7 +36,6 @@ import SourceState from '../source/State.js';
* @property {import("../PluggableMap.js").default} [map] Map.
* @property {RenderFunction} [render] Render function. Takes the frame state as input and is expected to return an
* HTML element. Will overwrite the default rendering for the layer.
* @property {string} [className='ol-layer'] A CSS class name to set to the layer element.
*/