ReEntryCoLab / reentry-resources-map

Interactive, searchable map that helps people on search for re-entry resources in Illinois
https://reentryillinois.net
Other
6 stars 4 forks source link

Remove CARTO backend, load all resources from Google Sheets on initial page load #45

Closed pjsier closed 6 years ago

pjsier commented 7 years ago

Even though there are 1,200 resources, it's not actually that much data to manage in the page since we're using pagination. Additionally, CARTO is used for queries, but most of these queries are relatively simple and might be easier to run by filtering an array of objects.

This will require some testing out, but it looks like it makes more sense to load everything from the Google Sheets API and filter that in JS on the page to minimize the amount of requests and external services that need to be used. We could also switch the map to Leaflet since each item has latitude and longitude coordinates