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) {
|
||||
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 || {};
|
||||
|
||||
/**
|
||||
|
||||
@@ -69,6 +69,12 @@ class Feature extends BaseObject {
|
||||
constructor(opt_geometryOrProperties) {
|
||||
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
|
||||
* @type {number|string|undefined}
|
||||
|
||||
Reference in New Issue
Block a user