fix: this.view does not exist, so it's better to use reportChange than requestRedraw

This commit is contained in:
MARCHAND MANON
2025-01-16 12:29:03 +01:00
committed by Manon Marchand
parent c620069c18
commit 718a8a073c

View File

@@ -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)