Merge pull request #12219 from ahocevar/object-properties

Add 'properties' to Layer constructors
This commit is contained in:
Andreas Hocevar
2021-06-17 08:44:53 +02:00
committed by GitHub
13 changed files with 36 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ import {listen, unlistenByKey} from '../events.js';
* @property {number} [maxZoom] The maximum view zoom level (inclusive) at which this layer will
* be visible.
* @property {Array<import("./Base.js").default>|import("../Collection.js").default<import("./Base.js").default>} [layers] Child layers.
* @property {Object<string, *>} [properties] Arbitrary observable properties. Can be accessed with `#get()` and `#set()`.
*/
/**