Add dispose API docs to raster source (#10856)

This commit is contained in:
EvertE
2020-07-08 09:57:07 +02:00
parent a2727ffe8f
commit 27983a8f8d

View File

@@ -801,6 +801,13 @@ class RasterSource extends ImageSource {
} }
} }
/**
* Clean up and unregister the worker.
* @function
* @api
*/
RasterSource.prototype.dispose;
/** /**
* A reusable canvas context. * A reusable canvas context.
* @type {CanvasRenderingContext2D} * @type {CanvasRenderingContext2D}