issues
search
opendata-stuttgart
/
feinstaub-map-v2
23
stars
19
forks
source link
feat/reference-and-NO2
#50
Closed
ohheyitsdave
closed
1 year ago
ohheyitsdave
commented
1 year ago
Separate data from logic in
main.js
to reduce its size and limit users' bandwidth and improve page speed
/data/
exposes stations.json, no2.json and s2s.json. The exposed files can be accessed with
fetch()
When a user clicks the expected HTML element,
stations.json
and
no2.json
should be fetched.
main.js
to reduce its size and limit users' bandwidth and improve page speed/data/
exposes stations.json, no2.json and s2s.json. The exposed files can be accessed withfetch()
stations.json
andno2.json
should be fetched.