Nate-Wessel / urban-freight

Maps for a dashboard on GHG emissions from urban freight in Canadian cities
https://www.pembina.org/urban-freight
0 stars 0 forks source link

Greying out of buttons with no data doesn't work for pick-up points in Avoid #49

Closed jamaps closed 2 years ago

jamaps commented 2 years ago

e.g. see Penguin layer for Edmonton.

I think this is caused by all pickup points being included in the same topojson file. So if one is there, then it thinks all are there

Nate-Wessel commented 2 years ago

This will be tricky. It might be easiest to break the data up by source, and then just rely on the current setup. There'd be some refactoring to do, but nothing too major I don't think.

Versus all the asynchronous state passing that would be needed to get the status of the parsed data back up to each of the buttons.

jamaps commented 2 years ago

cool. I'm keeping the pick-up locations separate for now

Nate-Wessel commented 2 years ago

Done!