I'd like to add several layers to a map and style them differently, e.g. a continuous color scale for a population layer and a categorical color scale for a flood layer.
This probably implies multiple legends, each of which should probably toggle in sync with layer's visibility toggle.
Thanks for your attention.