mapbox / mapbox/mapbox-maps-flutter
How can I filter my layer? I have a property called "category" that can be 1 out of 5 values
Open
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 380
- Forks
- 204
- PR merge metrics
- No merged PRs in 30d
Description
So basically I have icon-images displayed in a map after adding source and applying the layer.
But I want user to easily toggle filter between the 5 different categories, how can I do that? And after applying the filter how can I remove the filter?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names icon images, a source, a layer, and a category property with five values, but no files or tests. Start by locating the Flutter layer-filtering API and its source examples; document how to toggle each category and how to clear the filter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100