Commit graph

6 commits

Author SHA1 Message Date
Hugh Rundle 4c48c96e01 reduce opacity of overlays
The fines and loan period overlays were too opaque and made it hard to see what they were overlayed onto - especially in Queensland with the whacky coastal shire boundaries. Reduced to make things more transparent literally and figuratively.
2021-01-22 18:34:14 +11:00
Hugh Rundle 1f64423368 update filenames in data directory 2021-01-22 18:29:30 +11:00
Hugh Rundle 0bd4b4892f restructure website for better data integration
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
2021-01-20 09:28:43 +11:00
Hugh Rundle f9c6b9274d clean up variable declarations and indentation 2021-01-19 18:21:36 +11:00
Hugh Rundle 632534789d improve popups when clicking on libraries
Allows users to click on the location dots AND the 800m radius (location point is overlayed at long distances).
Also adds phone numbers to all popups and improves code readability.
Fixes #12
2021-01-19 08:17:22 +11:00
Hugh Rundle 56e382922f update files 2021-01-17 19:47:25 +11:00