Store rendererd source on the layer instead of the layer state

This commit is contained in:
Tim Schaub
2022-03-26 10:12:03 -06:00
parent f7605f538a
commit b8c04ee7c5
4 changed files with 35 additions and 6 deletions
-1
View File
@@ -57,7 +57,6 @@ import {listen, unlistenByKey} from '../events.js';
* @typedef {Object} State
* @property {import("./Layer.js").default} layer Layer.
* @property {number} opacity Opacity, the value is rounded to two digits to appear after the decimal point.
* @property {import("../source/Source.js").default|undefined} source Source being rendered (only for multi-source layers).
* @property {boolean} visible Visible.
* @property {boolean} managed Managed.
* @property {import("../extent.js").Extent} [extent] Extent.