Closed dabreegster closed 1 year ago
I wonder if the name layers isn't quite right? Maybe it should be called map controls?
It might also be nice to have something telling you that the legend is a legend, just a teeny header
It might also be nice to have something telling you that the legend is a legend, just a teeny header
Do you think the legend itself should be hideable separately using its own details? Or two layers of that component are overkill/confusing?
Just saw this. Definite improvement I think, and makes important speed data more visible. Layers sounds find to me, maybe "Map layers" as opposed to data layers would be better?
Moving to draft, I'll pick this up after #282
Please take another look; this PR now does two things:
https://github.com/acteng/atip/assets/1664407/d2bae816-f100-4f8d-a0c4-f3bbbae8190a
Demo at https://acteng.github.io/atip/combine_layer_controls/scheme.html?authority=West of England Combined Authority
Finally taking a look...
Instant 👍 to integrated legend. This is a minor but IMO important change to the UI with UX benefits so definitely worth merging to keep momentum going. Thanks Dustin for the work and patience!
Layer controls are often a map overlay, like in https://www.planning.data.gov.uk/map. We use that today for switching basemaps and showing a legend, but the speed limit layer is smushed into the sidebar for no good reason. Group everything and make the entire overlay hideable.
https://github.com/acteng/atip/assets/1664407/12fe6689-530e-4c73-ad09-7f575a24dfa7