Skip to content
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

SymbolLayer().filter(Expression.literal(true)) bug #1923

Open
byedo opened this issue Dec 25, 2022 · 1 comment
Open

SymbolLayer().filter(Expression.literal(true)) bug #1923

byedo opened this issue Dec 25, 2022 · 1 comment
Labels
bug 🪲 Something isn't working

Comments

@byedo
Copy link

byedo commented Dec 25, 2022

com.mapbox.maps.MapboxStyleException: Add layer failed: Failed to set filter property for class-layer-line-id layer. Error: filter value must be a non empty array

use sdk 10.10.0

why filter cannot use Expression.literal(true) or Expression.literal("true")

@mfazekas
Copy link
Contributor

mfazekas commented Mar 2, 2023

We're also seeing this, as a workaround we're using Expression.all {}

pengdev pushed a commit that referenced this issue Aug 11, 2023
* Add Standard style and Style Import section

* fix typo

* Address review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants