sources and layers.
This commit is contained in:
committed by
Andreas Hocevar
parent
e9a161740a
commit
7fc664c3fe
@@ -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>}
|
||||
|
||||
Reference in New Issue
Block a user