Skip to content

Commit

Permalink
[BUILD]
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Aug 5, 2024
1 parent b1dd609 commit da0087f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions dist/ol-ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -33389,6 +33389,20 @@ ol.source.IDW = class olsourceIDW extends ol.source.ImageCanvas {
this.set('maxD', parseFloat(options.maxD) || 0)
this._weight = typeof (options.weight) === 'function' ? options.weight : function (f) { return f.get(options.weight || 'weight'); };
}
/** Set IDW scale
* @param {number} scale
*/
setScale(scale) {
this.set('scale', parseFloat(scale) || 4);
this.changed();
}
/** Set IDW max distance
* @param {number} [dist] max distance in proj units
*/
setMaxD(dist) {
this.set('maxD', parseFloat(dist) || 0);
this.changed();
}
/** Get the source
*/
getSource() {
Expand Down
2 changes: 1 addition & 1 deletion dist/ol-ext.min.js

Large diffs are not rendered by default.

0 comments on commit da0087f

Please sign in to comment.