From 27983a8f8d6d1a04ac2fab04f5a2d54dfb8e6d25 Mon Sep 17 00:00:00 2001 From: EvertE Date: Wed, 8 Jul 2020 09:57:07 +0200 Subject: [PATCH] Add dispose API docs to raster source (#10856) --- src/ol/source/Raster.js | 7 +++++++ 1 file changed, 7 insertions(+) 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}