Commit 4d14d30 1 parent a95e7f4 commit 4d14d30 Copy full SHA for 4d14d30
File tree 2 files changed +0
-30
lines changed
2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -33115,21 +33115,6 @@ ol.source.IDW = class olsourceIDW extends ol.source.ImageCanvas {
33115
33115
getSource() {
33116
33116
return this._source;
33117
33117
}
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
- }
33133
33118
/** Get image value at coord (RGBA)
33134
33119
* @param {l.coordinate} coord
33135
33120
* @return {Uint8ClampedArray}
Original file line number Diff line number Diff line change @@ -58,21 +58,6 @@ var ol_source_IDW = class olsourceIDW extends ol_source_ImageCanvas {
58
58
getSource ( ) {
59
59
return this . _source ;
60
60
}
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
- }
76
61
/** Get image value at coord (RGBA)
77
62
* @param {l.coordinate } coord
78
63
* @return {Uint8ClampedArray }
You can’t perform that action at this time.
0 commit comments