From 1f644233689f7195fe98962edf614815a0873ee3 Mon Sep 17 00:00:00 2001 From: Hugh Rundle Date: Fri, 22 Jan 2021 18:29:30 +1100 Subject: [PATCH] update filenames in data directory --- ...csv => indigenous_knowledge_centre_locations.csv} | 0 ...services.csv => library_services_information.csv} | 0 ...titutes.csv => mechanics_institute_locations.csv} | 0 .../data/{nsla.csv => nsla_library_locations.csv} | 0 ...lic_branches.csv => public_library_locations.csv} | 0 website/load-map.js | 12 ++++++------ 6 files changed, 6 insertions(+), 6 deletions(-) rename website/data/{ikcs.csv => indigenous_knowledge_centre_locations.csv} (100%) rename website/data/{library_services.csv => library_services_information.csv} (100%) rename website/data/{mechanics_institutes.csv => mechanics_institute_locations.csv} (100%) rename website/data/{nsla.csv => nsla_library_locations.csv} (100%) rename website/data/{public_branches.csv => public_library_locations.csv} (100%) diff --git a/website/data/ikcs.csv b/website/data/indigenous_knowledge_centre_locations.csv similarity index 100% rename from website/data/ikcs.csv rename to website/data/indigenous_knowledge_centre_locations.csv diff --git a/website/data/library_services.csv b/website/data/library_services_information.csv similarity index 100% rename from website/data/library_services.csv rename to website/data/library_services_information.csv diff --git a/website/data/mechanics_institutes.csv b/website/data/mechanics_institute_locations.csv similarity index 100% rename from website/data/mechanics_institutes.csv rename to website/data/mechanics_institute_locations.csv diff --git a/website/data/nsla.csv b/website/data/nsla_library_locations.csv similarity index 100% rename from website/data/nsla.csv rename to website/data/nsla_library_locations.csv diff --git a/website/data/public_branches.csv b/website/data/public_library_locations.csv similarity index 100% rename from website/data/public_branches.csv rename to website/data/public_library_locations.csv diff --git a/website/load-map.js b/website/load-map.js index c25ce8b..2e32675 100644 --- a/website/load-map.js +++ b/website/load-map.js @@ -1,16 +1,16 @@ const boundaries = fetch('data/boundaries.topo.json') .then( response => response.json()) -const branchesCsv = fetch('data/public_branches.csv') +const branchesCsv = fetch('data/public_library_locations.csv') .then( response => response.text()); -const ikcCsv = fetch('data/ikcs.csv') +const ikcCsv = fetch('data/indigenous_knowledge_centre_locations.csv') .then( response => response.text()); -const mechanics = fetch('data/mechanics_institutes.csv') +const mechanics = fetch('data/mechanics_institute_locations.csv') .then( response => response.text()); -const nslaBranches = fetch('data/nsla.csv') +const nslaBranches = fetch('data/nsla_library_locations.csv') .then( response => response.text()); 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 = { "Libraries" : baseMap, - // "Languages" : baseLang, + // TODO: "Languages" : baseLang, "Rules" : baseRules, }