Add Symbol property to FeatureReductionCluster

1171
3
05-20-2021 06:37 AM
Status: Implemented
Labels (3)
bmanghi
New Contributor III

The ability to make clusters distinct from individual points would be immensely helpful. Clustering in it's current form is a great addition to the API, but not being able to simply change the symbol for the distinct cluster is a limitation among a feature with a great deal of useful complexity (like querying the features within a cluster and creating a convex hull).

Would the development team please consider exposing all rendering properties, including the symbol property, in FeatureReductionCluster?

3 Comments
KristianEkenes

Hey. Thanks for the idea. We actually have an undocumented "symbol" property on FeatureReductionCluster today. I want to emphasize that it is not supported, so I don't advise using it in production code. We are actively working on a solution that will allow you to change the rendering of clusters. No set timeframe yet, but coming soon. Before releasing a symbol property, we want to look at other rendering solutions to see the best way we can expose this information while minimizing potential breaking changes in the future.

KristianEkenes
Status changed to: Implemented

The symbol property is now public and part of the web map. Marking this idea as implemented.

Release notes: https://developers.arcgis.com/javascript/latest/release-notes/#custom-cluster-styles

Sample: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster-symbol/