Skip to content

Commit

Permalink
fix(synthese): fix color that changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Narcisi authored and TheoLechemia committed Sep 14, 2023
1 parent bd7fb5c commit 8d405c1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ export class SyntheseCarteComponent implements OnInit, AfterViewInit, OnChanges,
private setAreasStyle(layer, obsNbr) {
this.originAreasStyle['fillColor'] = this.getColor(obsNbr);
layer.setStyle(this.originAreasStyle);
delete this.originAreasStyle['fillColor'];
}

private getColor(obsNbr) {
Expand Down

0 comments on commit 8d405c1

Please sign in to comment.