I'm getting the following error when trying to filter a SymbolLayer
with match
:
Here's the SymbolLayer
code:
<MapboxGL.SymbolLayer
id="LayerRestaurant"
filter={[
'all',
['==', 'maki', 'restaurant'],
['match', 'name', 'Pita Pit', true, false],
]}
/>
Any ideas how can I make it work?
Thanks!