diff --git a/dist/ol-ext.js b/dist/ol-ext.js index f6d4696e..076735ca 100644 --- a/dist/ol-ext.js +++ b/dist/ol-ext.js @@ -33115,21 +33115,6 @@ ol.source.IDW = class olsourceIDW extends ol.source.ImageCanvas { getSource() { return this._source; } - /** Apply the value to the map RGB. Overwrite this function to set your own colors. - * @param {number} v value - * @param {Uint8ClampedArray} data RGBA array - * @param {number} i index in the RGBA array - * @api - * / - setData(v, data, i) { - // Get color - var color = this.getColor(v); - // Convert to RGB - data[i] = color[0]; - data[i + 1] = color[1]; - data[i + 2] = color[2]; - data[i + 3] = color[3]; - } /** Get image value at coord (RGBA) * @param {l.coordinate} coord * @return {Uint8ClampedArray} diff --git a/src/source/IDW.js b/src/source/IDW.js index 6e49158c..d16c74b1 100644 --- a/src/source/IDW.js +++ b/src/source/IDW.js @@ -58,21 +58,6 @@ var ol_source_IDW = class olsourceIDW extends ol_source_ImageCanvas { getSource() { return this._source; } - /** Apply the value to the map RGB. Overwrite this function to set your own colors. - * @param {number} v value - * @param {Uint8ClampedArray} data RGBA array - * @param {number} i index in the RGBA array - * @api - * / - setData(v, data, i) { - // Get color - var color = this.getColor(v); - // Convert to RGB - data[i] = color[0]; - data[i + 1] = color[1]; - data[i + 2] = color[2]; - data[i + 3] = color[3]; - } /** Get image value at coord (RGBA) * @param {l.coordinate} coord * @return {Uint8ClampedArray}