sources and layers.

This commit is contained in:
Simon Seyock
2021-06-23 14:26:17 +02:00
committed by Andreas Hocevar
parent e9a161740a
commit 7fc664c3fe
10 changed files with 69 additions and 1 deletions
+11
View File
@@ -38,6 +38,10 @@ export const ImageSourceEventType = {
IMAGELOADERROR: 'imageloaderror',
};
/**
* @typedef {'imageloadend'|'imageloaderror'|'imageloadstart'} ImageSourceEventTypes
*/
/**
* @classdesc
* Events emitted by {@link module:ol/source/Image~ImageSource} instances are instances of this
@@ -89,6 +93,13 @@ class ImageSource extends Source {
state: options.state,
});
/***
* @type {import("../Observable").OnSignature<import("../Observable").EventTypes, import("../events/Event.js").default> &
* import("../Observable").OnSignature<import("../ObjectEventType").Types, import("../Object").ObjectEvent> &
* import("../Observable").OnSignature<ImageSourceEventTypes, ImageSourceEvent>}
*/
this.on;
/**
* @private
* @type {Array<number>}