-
Notifications
You must be signed in to change notification settings - Fork 122
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
filterCache[layerId] is not a function in 6.1.0 #261
Comments
It seems it's because "@mapbox/mapbox-gl-style-spec": "^13.11.0". It installs 13.13.0 and there is a breaking change in: And create filter return value is changed: Workaround for now: |
I'm facing the same error, thanks for the workaround ! |
Thanks for your research @MichalK6677, with this information it was easy to fix the issue. See #262. |
Just for someone googling we got hit by this using 5.0.2 as well. |
Example with 6.1.0
https://codesandbox.io/s/cluster-6ie41
There is an error "filterCache[layerId] is not a function".
It works with 6.0.1
https://codesandbox.io/s/cluster-wqgdq
The text was updated successfully, but these errors were encountered: