inbo / crow

Online tool to visualize birds detected by weather radars
https://inbo.github.io/crow/
MIT License
15 stars 7 forks source link

Hide historical radars in map #201

Closed CeciliaNilsson709 closed 5 days ago

CeciliaNilsson709 commented 6 days ago

Since some sites have had their radar codes updated, some locations have two sets of data associated with them; one "historical" and one active. In the drop down menu both are visible which is great, but in the map there can of course only be one dot per location.

Currently some dots link to the active radar and some to the historical one. @niconoe Would it be possible to hide the historical ones from the map so that when you click on a location you always see data from the active radar at that site?

niconoe commented 6 days ago

Hi @CeciliaNilsson709, yep that's a very reasonable request and - without looking at the code - that doesn't seem too frightening :) I guess I'll also have to update the config file(s) to mark which radars are historical. But that info seems pretty clear in this commit (https://github.com/enram/crow/commit/a1c3d11450a74a0766b814ec7f5ec88f00a547a6) , thanks to the updated labels.

I'll have a look soonish, feel free to ping me if I forget :)

CeciliaNilsson709 commented 6 days ago

Sounds great, thanks!

niconoe commented 6 days ago

PR ready for review!

peterdesmet commented 5 days ago

This has been resolved in #202 and pushed to https://crow.aloftdata.eu/ (e.g. sekkr no longer covers sekaa).