Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laisser le choix d'afficher les observations ou les taxons dans la synthèse par entité géographique ? #23

Closed
Adrien-Pajot opened this issue Mar 4, 2021 · 1 comment

Comments

@Adrien-Pajot
Copy link
Contributor

Adrien-Pajot commented Mar 4, 2021

ça se passe dans dashboard-map.component.ts à partir de la ligne 278 :

ngAfterViewInit() {
// Implémentation de la légende : par défaut, la carte affiche automatiquement le nombre d'observations
this.legend = (this.mapService.L as any).control({
position: "bottomright"
});
this.legend.onAdd = map => {
return this.divLegendObs;
};
this.legend.addTo(this.mapService.map);
}

@Adrien-Pajot
Copy link
Contributor Author

Fait dans la PR #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants