diff --git a/src/ol/source/Raster.js b/src/ol/source/Raster.js index b8394dd7b5..fb61fc6ed1 100644 --- a/src/ol/source/Raster.js +++ b/src/ol/source/Raster.js @@ -801,6 +801,13 @@ class RasterSource extends ImageSource { } } +/** + * Clean up and unregister the worker. + * @function + * @api + */ +RasterSource.prototype.dispose; + /** * A reusable canvas context. * @type {CanvasRenderingContext2D}