ondrap/mapbox-filter

error parsing style file

Opened this issue · 0 comments

Hello, this library sounds really useful. I am trying it out but get the following error

mapbox-filter: Parsing mapbox style failed: Error in $.layers[1]: Unknown function name / wrong param count: in CallStack (from HasCallStack): error, called at app/Main.hs:224:20 in main:Main

I think it might be caused by this part in the second layer in my style layers (at index 1 of layers):

"filter": [ "all", [ "in", "class", "residential", "suburb", "neighbourhood" ] ],

I understand not all expressions are supported. Is the 'in' not supported yet?

Thanks!