Skip to content

Commit

Permalink
[DOC] #1089
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Jul 27, 2024
1 parent a95e7f4 commit 4d14d30
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
15 changes: 0 additions & 15 deletions src/source/IDW.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 4d14d30

Please sign in to comment.