DataFilterExtension with OR conditions
See original GitHub issueHello,
I’m having fun playing with deckgl latetly and i’m considering using it for coorporate projects.
I want to filter dynamically 12000+ polygons in a geojson that are categorized into 4 categories. It’s working great when i want to filter one category, it’s fast as light.
getFilterValue: f => [f.properties.aocid], //1,2,3,4
filterRange: [1,1],
extensions: [new DataFilterExtension({filterSize: 1})],
or if i want to display 1 and 2 and 3. but it seems there is no way to show ONLY 1 and 3… or am i wrong ?
Thank you for your time,
Issue Analytics
- State:
- Created 3 years ago
- Comments:6
Top Results From Across the Web
DataFilterExtension - deck.gl
The DataFilterExtension adds GPU-based data filtering functionalities to layers. It allows the layer to show/hide objects based on user-defined properties. This ...
Read more >Once I have a DataFilterExtension … | Apple Developer Forums
I have a suspicion I'm getting the denied permission because of Entitlements. My entitlements look like this: DataFilterExtension
Read more >deck.gl - What causes 'Model needs a program' with a ...
DataFilterExtension to my deck.gl GeoJSON-layer to be able to filter some polygons. The following is the core of my setup; I hope I'm...
Read more >deck.gl | TextLayer
DataFilterExtension · FillStyleExtension · Fp64Extension · MaskExtension · PathStyleExtension. @deck.gl/json. @deck.gl/json · JSONConverter.
Read more >@turf/boolean-contains examples - CodeSandbox
spatial-filter-in-renderSubLayers-using-DataFilterExtension · Clebal · wizardly-brook-47wnp · agitated-saha-rtmxc · mauricei_docudata.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
oh yeah i forgot about that !! Thank you sir @Clebal , it’s working great and still fast as light !!
i will continue my exploration of deckgl, so much things to try !
going to close this. thanks
@zogs you have to use updateTriggers to inform deck to reevaluate getFilterValue after
displayedAocid
changes.