phlask-map
phlask-map copied to clipboard
Support filtering of resources
Currently, how the frontend works in terms of loading and filtering data is:
- Make a Firebase API call to get all of the resources
- In the frontend, we have a filter for the resource type
- Markers are loaded into the map
There are two pieces that need to be fixed:
- Need to reimplement the filtering logic in this file (we can then remove the other selector files)
- (optional) It would be nice to stream in or filter/query the firebase DB for certain fields rather than loading all resources at once.
Expected behavior: the filters in the desktop mode work