natcap / global-web-viewer

A web viewer prototype for visualizing and analyzing global data.
GNU General Public License v3.0
3 stars 1 forks source link

Turn on and off layers while still in the legend #98

Closed newtpatrol closed 3 years ago

newtpatrol commented 3 years ago

For the future, it would be nice to be able to turn on and off the layers that are added to the map without removing them from the legend order. Currently, when I toggle one off (let's say I'm comparing two layers by switching between them), it gets removed from whatever position in the drawing order that I had moved it, then when it's toggled back on it's added back to the top of the layers, which is often not what I want. I'm guessing that this would mean adding on/off functionality to the legend.

dcdenu4 commented 3 years ago

This has been done!