Sam010000101 / flood-watch

Search for historic flood events that happened in the UK
0 stars 2 forks source link

Synchronisation of charts with loaded marker data #16

Open paulashby opened 1 year ago

paulashby commented 1 year ago

Environment Agency flood data is currently used to add markers to the map. This could also be used to feed some of the peripheral charts. Data is provided for multiple flood sites, so we could have nice busy charts with multiple data points - like maybe twenty events on one chart. When a marker is added to the map, a custom event including the related data could be triggered. An event handler could update the charts to sync them with the markers. So every time a marker is added a corresponding bar would be added to a bar chart for example.

Sam010000101 commented 1 year ago

Great idea! If we have time we'll drill into this further, for the time being I'll press-on with the aggregated data. Let me know if you are stuck for something as this could be a good next task. Right now I think the map is the main event!