Skip to content

Commit

Permalink
Legend not showing
Browse files Browse the repository at this point in the history
Fixes #732
  • Loading branch information
underbluewaters committed Apr 15, 2024
1 parent 578eed8 commit 952def7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/client/src/dataLayers/MapContextManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2900,7 +2900,9 @@ class MapContextManager extends EventEmitter {
}
}

updateLegends = debounce(this._updateLegends, 20);
updateLegends = debounce(this._updateLegends, 20, {
maxWait: 1000,
});

hideLayer(stableId: string) {
const state = this.visibleLayers[stableId];
Expand Down

0 comments on commit 952def7

Please sign in to comment.