vmikk / PhyloNext

A pipeline for phylogenetic diversity analysis of GBIF-mediated data
https://phylonext.github.io
MIT License
8 stars 0 forks source link

Intervals and gradients mixed #11

Open louisehendrickx opened 11 months ago

louisehendrickx commented 11 months ago

Map shows legend with colour intervals on user interface, but the generated pdf shows gradients. These should be made the same.

vmikk commented 11 months ago

We had considered deprecating the feature of exporting maps as PDFs, as this functionality was implemented before HTML views and was introduced for quick diagnostic plots. However, one advantage of PDFs is that they are more lightweight compared to Leaflets. Additionally, at finer spatial scales and larger geographic extents, Leaflet might struggle to generate outputs with a high number of H3 cells.

We'd love to hear your thoughts - do you believe retaining the PDF export feature is worthwhile, or do you think it's no longer necessary?

louisehendrickx commented 11 months ago

According to us, the PDF feature is certainly useful, given it shows the same kind of legend as in the leaflet.

vmikk commented 8 months ago

Automated selection of index-specific color scheme is under development now. Related with https://github.com/shawnlaffan/biodiverse/issues/889