update filenames in data directory

This commit is contained in:
Hugh Rundle 2021-01-22 18:29:30 +11:00
parent f4942ccf2b
commit 1f64423368
6 changed files with 6 additions and 6 deletions

View file

@ -1,16 +1,16 @@
const boundaries = fetch('data/boundaries.topo.json') const boundaries = fetch('data/boundaries.topo.json')
.then( response => response.json()) .then( response => response.json())
const branchesCsv = fetch('data/public_branches.csv') const branchesCsv = fetch('data/public_library_locations.csv')
.then( response => response.text()); .then( response => response.text());
const ikcCsv = fetch('data/ikcs.csv') const ikcCsv = fetch('data/indigenous_knowledge_centre_locations.csv')
.then( response => response.text()); .then( response => response.text());
const mechanics = fetch('data/mechanics_institutes.csv') const mechanics = fetch('data/mechanics_institute_locations.csv')
.then( response => response.text()); .then( response => response.text());
const nslaBranches = fetch('data/nsla.csv') const nslaBranches = fetch('data/nsla_library_locations.csv')
.then( response => response.text()); .then( response => response.text());
Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches]) Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches])
@ -55,7 +55,7 @@ Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches])
} }
}, },
}); });
// // Copyright (c) 2013 Ryan Clark (MIT) // This snippet Copyright (c) 2013 Ryan Clark (MIT License)
// ----------------------------------------------------------------- // -----------------------------------------------------------------
@ -279,7 +279,7 @@ Promise.all([boundaries, branchesCsv, ikcCsv, mechanics, nslaBranches])
// ++++++++++++++ // ++++++++++++++
const baseMaps = { const baseMaps = {
"Libraries" : baseMap, "Libraries" : baseMap,
// "Languages" : baseLang, // TODO: "Languages" : baseLang,
"Rules" : baseRules, "Rules" : baseRules,
} }