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

What is the proper way to do filtering for a cluster layer? #2626

Closed
emakarov opened this issue May 26, 2016 · 1 comment
Closed

What is the proper way to do filtering for a cluster layer? #2626

emakarov opened this issue May 26, 2016 · 1 comment

Comments

@emakarov
Copy link

Could you share the best recommended way how to do filtering of Features for a cluster layer?
The most preferred way is to filter Feature by property.
But, as I understand, filtering for cluster cannot orient to properties. Is it correct or no?
Details of the task:

  • I have list of features, they are clustered
  • Then, some property is changing
  • I want to filter Features based on changed property, so they will not be inside clusters (disappear from map)
@mourner
Copy link
Member

mourner commented May 26, 2016

Closing as a duplicate of #2613 — currently you'll have to filter manually and run setData to reset the whole dataset, but we'll look into implementing such a feature in GL JS.

@mourner mourner closed this as completed May 26, 2016
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