Skip to content

Commit

Permalink
fix: this.view does not exist, so it's better to use reportChange tha…
Browse files Browse the repository at this point in the history
…n requestRedraw
  • Loading branch information
ManonMarchand committed Jan 16, 2025
1 parent 921d395 commit 1505711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export let GraphicOverlay = (function() {
for (var k=0, len=overlaysToAdd.length; k<len; k++) {
this.add(overlaysToAdd[k], false);
}
this.view.requestRedraw();
this.reportChange();
};

// TODO : item doit pouvoir prendre n'importe quoi en param (footprint, circle, polyline)
Expand Down

0 comments on commit 1505711

Please sign in to comment.