cluster feature Reduction

284
1
Jump to solution
09-01-2022 01:45 AM
Guy_srb
New Contributor III

Hi 🙂

 

I using a cluster feature reduction on a feature layer, and I want to make clusters with less then a certain number not visible.

is it possible?

0 Kudos
1 Solution

Accepted Solutions
Noah-Sager
Esri Regular Contributor

Hi @Guy_srb, you should be able to do this with some client-side filtering. Here is a sample that allows users to change what clusters appear on the map: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-filter-slider/

You might also be able to define the smallest size of the clusters, if that is useful in your scenario: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCl...

 

 

 

View solution in original post

0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor

Hi @Guy_srb, you should be able to do this with some client-side filtering. Here is a sample that allows users to change what clusters appear on the map: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-filter-slider/

You might also be able to define the smallest size of the clusters, if that is useful in your scenario: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-FeatureReductionCl...

 

 

 

0 Kudos