Hugh Rundle
0bd4b4892f
Big commit here. This moves the "data" directory inside the website, and then uses fetch to bring the csv and geoJSON files into the map instead of copy-pasting into JS files. Much cleaner and reduces steps from updating a CSV to updating the actual website. Now we simply need to git pull on the webserver (unless the updated data is for library services rather than library locations). Also cleans up some styling. Also removes my MapBox secrets from the Git repo whoops. These are now brought in via a secrets.js file that simply declares a constant. This file will not be visible in the repo. Fixes #14
749 B
749 B
1 | lat | lng | town | address |
---|---|---|---|---|
2 | -36.995814 | 144.067624 | Maldon Athenaeum | 97 High Street |
3 | -37.562362 | 143.858541 | Ballaarat Mechanics Institute | 117 Sturt Street |
4 | -38.030828 | 145.345353 | Berwick Mechanics Institute & Free Library | 15 High Street |
5 | -37.025488 | 145.85277 | Bonnie Doon Community Centre | 75 Arnot Street |
6 | -37.80347 | 144.899093 | Footscray Mechanics Institute Library | 209 Nicholson Street |
7 | -37.964509 | 144.4996 | Little River Mechanics Hall and Free Library | 8 Rothwell Library |
8 | -37.849806 | 144.991688 | Prahran Mechanics Insitute Victorian History Library | 39 Edmonds Road |
9 | -35.896013 | 141.995651 | Rainbow Bell Room Library | Oasis Hub |
10 | -36.405122 | 146.755398 | Stanley Athenaeum & Public Room | 2 Mount Stanley Road |
11 | -38.664017 | 146.325216 | Toora Mechanics Institute Library | 23 Gray Street |