A key issue in stopping Corona spread is avoiding areas where known virus carriers visited during the incubation period. To this end, health organizations are releasing place / date itineraries.
The code here is a very simple web map implementation that displays the data. The data source is a Google Sheet, so that it can edited and maintained by multiple users within a well known system (technically the source could be any CSV file with the spreadsheet format).
The resulting map is OpenStreetMap based and desktop / mobile friendly.
- Use GitHub's fork option to create your own repository
- Make sure to activate GitHub Pages in the new repository (Settings > GitHub Pages > Set Master branch as source)
- In
config.js
, changeSHEETS_URL
to your Sheet (see below)
- Go to the sample sheet
- File > Make a copy
- File > Publish to the web
- Select "Comma Separated Values (.csv)"
- Click "Publish"
- Copy the URL into
config.js
as theSHEETS_URL
value - Fill in data. The required values are
lat
,lon
andlast_visit_date
.patient_id
andtext
are optional.