Skip to content

Commit 4d14d30

Browse files
committed
[DOC] #1089
1 parent a95e7f4 commit 4d14d30

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

dist/ol-ext.js

-15
Original file line numberDiff line numberDiff line change
@@ -33115,21 +33115,6 @@ ol.source.IDW = class olsourceIDW extends ol.source.ImageCanvas {
3311533115
getSource() {
3311633116
return this._source;
3311733117
}
33118-
/** Apply the value to the map RGB. Overwrite this function to set your own colors.
33119-
* @param {number} v value
33120-
* @param {Uint8ClampedArray} data RGBA array
33121-
* @param {number} i index in the RGBA array
33122-
* @api
33123-
* /
33124-
setData(v, data, i) {
33125-
// Get color
33126-
var color = this.getColor(v);
33127-
// Convert to RGB
33128-
data[i] = color[0];
33129-
data[i + 1] = color[1];
33130-
data[i + 2] = color[2];
33131-
data[i + 3] = color[3];
33132-
}
3313333118
/** Get image value at coord (RGBA)
3313433119
* @param {l.coordinate} coord
3313533120
* @return {Uint8ClampedArray}

src/source/IDW.js

-15
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,6 @@ var ol_source_IDW = class olsourceIDW extends ol_source_ImageCanvas {
5858
getSource() {
5959
return this._source;
6060
}
61-
/** Apply the value to the map RGB. Overwrite this function to set your own colors.
62-
* @param {number} v value
63-
* @param {Uint8ClampedArray} data RGBA array
64-
* @param {number} i index in the RGBA array
65-
* @api
66-
* /
67-
setData(v, data, i) {
68-
// Get color
69-
var color = this.getColor(v);
70-
// Convert to RGB
71-
data[i] = color[0];
72-
data[i + 1] = color[1];
73-
data[i + 2] = color[2];
74-
data[i + 3] = color[3];
75-
}
7661
/** Get image value at coord (RGBA)
7762
* @param {l.coordinate} coord
7863
* @return {Uint8ClampedArray}

0 commit comments

Comments
 (0)