datalab-dev / covid_worksite_exposure

Scraping and visualizing the UC Davis Potential Worksite Exposure Reporting (AB 685) data
MIT License
6 stars 4 forks source link

Create Leaflet Map #2

Closed MicheleTobias closed 3 years ago

MicheleTobias commented 3 years ago

Create a leaflet map that uses the scraped (issue #1 ) data to show:

MicheleTobias commented 3 years ago

Leaflet Slider looks promising. It also seems to go by the name of Leaflet Time-Slider.

MicheleTobias commented 3 years ago

Also, Leaflet.Timeline looks like it can turn polygons on and off with a start and end date (unlike leaflet slider), but the documentation is less developed.

MicheleTobias commented 3 years ago

I put a proof-of-concept Leaflet map that uses example data and the Leaflet.Timeline plugin in the example_map folder

MicheleTobias commented 3 years ago

We have a functioning leaflet map with a timeline slider! I'm going to close this issue and make others for the specific bugs we're still working on.