Skip to content

Commit

Permalink
Fix reset data
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Dec 7, 2023
1 parent 57c8f1e commit a08232c
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,11 @@ export default GraphicsLayer.createSubclass({
this._predefinedObjectIds = null;
// clear array with calculated clusters
this._clusters = [];
this.initDataStructures(this.sublayers);
const mapWidgetModel = this._mapWidgetModel;
// Create new FeatureServerRequester to clear cache
this._serverRequester = new FeatureServerRequester(
this.sublayers, {wkid: this.wkid}, this._returnLimit, mapWidgetModel);
this._reCluster({forceReinit: true});
},

Expand Down

0 comments on commit a08232c

Please sign in to comment.