Add Collection and Feature.
This commit is contained in:
committed by
Andreas Hocevar
parent
baf9ee6a93
commit
ff42d03f31
@@ -71,6 +71,13 @@ class Collection extends BaseObject {
|
|||||||
constructor(opt_array, opt_options) {
|
constructor(opt_array, opt_options) {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
|
/***
|
||||||
|
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
|
||||||
|
* import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:length', import("./Object").ObjectEvent> &
|
||||||
|
* import("./Observable").OnSignature<'add'|'remove', CollectionEvent>}
|
||||||
|
*/
|
||||||
|
this.on;
|
||||||
|
|
||||||
const options = opt_options || {};
|
const options = opt_options || {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -69,6 +69,12 @@ class Feature extends BaseObject {
|
|||||||
constructor(opt_geometryOrProperties) {
|
constructor(opt_geometryOrProperties) {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
|
/***
|
||||||
|
* @type {import("./Observable").OnSignature<import("./Observable").EventTypes, import("./events/Event.js").default> &
|
||||||
|
* import("./Observable").OnSignature<import("./ObjectEventType").Types|'change:geometry', import("./Object").ObjectEvent>}
|
||||||
|
*/
|
||||||
|
this.on;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
* @type {number|string|undefined}
|
* @type {number|string|undefined}
|
||||||
|
|||||||
Reference in New Issue
Block a user