mapbox-maps-flutter
mapbox-maps-flutter copied to clipboard
How can I filter my layer? I have a property called "category" that can be 1 out of 5 values
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?
How were u able to add icon-images on map i believe u used a symbol layer right? I am facing issues with addStyleImage any leads to help me that.
Link to my issue
As for ur doubt on how to filter i believe u need to use expressions check out these link. mapbox-expressions