-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow filtering by category type #3
Comments
API docs here: https://dev.socrata.com/foundry/data.sfgov.org/cuks-n6tp You can see the categories + counts with this query for example: http://data.sfgov.org/resource/cuks-n6tp.json?$select=count(*),category&$group=category |
Cross reference to issue #48 |
I'll take a stab at this. |
Research on this didn't find a fully functional filter option. Options in "vanilla javascript" don't allow multi-select. Multi-select would require React or another advanced framework. For now, let's follow our "keep is sweet and simple" rule. Moving this to the Parking Lot and we can research again in a few months to see if there are new library options that might work. |
Add a filter for the high level categories (multiple select). This can be optional. There are fewer of these, it'll make it easier to limit the returns. Could also just be implemented as a checkbox on the legend after the initial data is returned.
The text was updated successfully, but these errors were encountered: