Skip to content

Commit 90e6fb1

Browse files
committed
Faster update
1 parent 5ee4811 commit 90e6fb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

map/crop/CropLegendControl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class CropLegendControl extends Control {
4646
this.render();
4747
this.tileLoadEnd = this.tileLoadEnd.bind(this);
4848
this.changeSource = this.changeSource.bind(this);
49-
this.updateFeatureCount = debounce(this.updateFeatureCount, 1000).bind(this);
49+
this.updateFeatureCount = debounce(this.updateFeatureCount, 300).bind(this);
5050
}
5151
updateFeatureCount(e) {
5252
const map = this.getMap();

0 commit comments

Comments
 (0)