File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ document.addEventListener('click', e => {
5050
5151
5252document . addEventListener ( "DOMContentLoaded" , async ( ) => {
53- const censusTractCsvUrl = "/ data/census-tract-input-vector.csv" ;
54- const censusTractGeoJsonUrl = "/ data/census-estimates.geojson" ;
53+ const censusTractCsvUrl = "data/census-tract-input-vector.csv" ;
54+ const censusTractGeoJsonUrl = "data/census-estimates.geojson" ;
5555 let rawData = [ ] ;
5656 let mapLayer ;
5757
@@ -127,7 +127,7 @@ document.addEventListener("DOMContentLoaded", async () => {
127127 }
128128
129129 async function loadOverlays ( ) {
130- const citiesData = await fetch ( '/ data/cities.geojson' ) . then ( res => res . json ( ) ) ;
130+ const citiesData = await fetch ( 'data/cities.geojson' ) . then ( res => res . json ( ) ) ;
131131 const citiesLayer = createGeoJsonOverlay ( citiesData ) ;
132132 overlays [ "Cities" ] = citiesLayer ;
133133 layerControl . addOverlay ( citiesLayer , "Cities" ) ;
You can’t perform that action at this time.
0 commit comments