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

Operator support for Id is missing on gpu #15807

Open
Olivierko opened this issue May 8, 2024 · 0 comments
Open

Operator support for Id is missing on gpu #15807

Olivierko opened this issue May 8, 2024 · 0 comments

Comments

@Olivierko
Copy link

Support for the Id operator was added on #15251 however there seems to have been an oversight as this was only implemented in the cpu parser.

Attempting to access it will cause the following error:
Error: No compiler defined for this operator: "id"

Expected result:
Being able to style features conditionally on their id on the gpu, eg:

style: {
  'icon-color':  ['match', ['id'], '2102767', 'red', 'white']
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant