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

Feature: Filter null values #4785

Closed
benstadin opened this issue Jun 5, 2017 · 1 comment
Closed

Feature: Filter null values #4785

benstadin opened this issue Jun 5, 2017 · 1 comment

Comments

@benstadin
Copy link

Hi,

it would be handy if it was possible to filter null objects. For example, this doesn't work at the moment:

"filter": ["all", ["!=", "{name}", null]

but this works - though I cannot ignore features having a "name" attribute with null:

"filter": ["all", ["!=", "{name}", ""]

Reference: https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter

@jfirebaugh
Copy link
Contributor

Duplicate of #4410.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants