diff --git a/webapp/templates/app.js b/webapp/templates/app.js index c21977d..85e3e58 100644 --- a/webapp/templates/app.js +++ b/webapp/templates/app.js @@ -74,7 +74,7 @@ async function fetchEligData(map) { const bounds = map.getBounds(); const sw = bounds.getSouthWest(); const ne = bounds.getNorthEast(); - const reqUri = encodeURI(`/eligdata?swx=${sw.lng}&swy=${sw.lat}&nex=${ne.lng}&ney=${ne.lat}`); + const reqUri = encodeURI(`eligdata?swx=${sw.lng}&swy=${sw.lat}&nex=${ne.lng}&ney=${ne.lat}`); const source = await fetch(reqUri); const eligData = await source.json(); updateEligData(map, eligData); diff --git a/webapp/templates/map.html b/webapp/templates/map.html index 0398e7f..f013f97 100644 --- a/webapp/templates/map.html +++ b/webapp/templates/map.html @@ -9,15 +9,12 @@ - + - - + +