Skip to content

Commit

Permalink
chore: remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jules Jean-Louis authored and edelclaux committed Oct 17, 2024
1 parent 2ba1aea commit cebfa1e
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ export class TabGeographicOverviewComponent implements OnInit {
observations: FeatureCollection | null = null;
areasEnable: boolean;
areasLegend: any;
private areasLabelSwitchBtn;
public featureGroup: any;
private _areasLabelSwitchBtn;
styleTabGeoJson: {};

mapAreasStyle: MapAreasStyle = {
Expand All @@ -58,7 +57,6 @@ export class TabGeographicOverviewComponent implements OnInit {
this.areasEnable =
this.config.SYNTHESE.AREA_AGGREGATION_ENABLED &&
this.config.SYNTHESE.AREA_AGGREGATION_BY_DEFAULT;
this.featureGroup = new L.FeatureGroup();
}

ngOnInit() {
Expand Down Expand Up @@ -154,13 +152,13 @@ export class TabGeographicOverviewComponent implements OnInit {
}
};

this.areasLabelSwitchBtn = L.DomUtil.create(
this._areasLabelSwitchBtn = L.DomUtil.create(
'label',
'custom-control-label',
switchBtnContainer
);
this.areasLabelSwitchBtn.setAttribute('for', 'toggle-areas-btn');
this.areasLabelSwitchBtn.innerText = this.translateService.instant(
this._areasLabelSwitchBtn.setAttribute('for', 'toggle-areas-btn');
this._areasLabelSwitchBtn.innerText = this.translateService.instant(
'Synthese.Map.AreasToggleBtn'
);

Expand Down

0 comments on commit cebfa1e

Please sign in to comment.