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
1,001 B
1,001 B
1 | lat | lng | town | address | phone |
---|---|---|---|---|---|
2 | -37.809815 | 144.96513 | State Library of Victoria | 328 Swanston Street, Melbourne | 03 8664 7000 |
3 | -35.2964664654173 | 149.129530279015 | National Library of Australia | Parkes Place, Canberra | 02 6262 1111 |
4 | -33.8658844393665 | 151.213300984753 | State Library of New South Wales | Macquarie Street, Sydney | 02 9273 1414 |
5 | -27.4709532627151 | 153.018134355766 | State Library of Queensland | Stanley Place, South Brisbane | 07 3840 7666 |
6 | -34.9203274502345 | 138.602616669435 | State Library of South Australia | North Terrace & Kintore Ave, Adelaide | 08 8207 7250 |
7 | -31.9490538016994 | 115.860634584705 | State Library of Western Australia | 25 Francis St, Perth | 08 9427 3111 |
8 | -42.8815965006531 | 147.325005456166 | Hobart Reading Room (State Reference Library) | 91 Murray Street, Hobart | 03 6165 5597 |
9 | -12.4666020117882 | 130.842962053658 | Northern Territory Library | 4 Bennett St, Parliament House, Darwin | 08 8999 7177 |
10 | -35.3241714564223 | 149.164639259617 | ACT Heritage Library | 255 Canberra Ave, Fyshwick | 02 62075163 |