Select to view content in your preferred language

Feature request: clustering on arbitrary FeatureLayer

213
2
06-03-2025 01:56 AM
EgorFedorov
Occasional Contributor

We need an ability to enable clustering for point features that come from arbitrary feature layer. I've checked sample code on this, but it doesn't meet our needs since it uses feature reduction from webmap where feature layer resides.

 

Some requirements:

- it should be based on distance between points

- need an ability to define some minimal cluster symbol (say, circle of predefined color with features count inside it)

- enable/disable clustering based on zoom level

- support single clustering for several feature layers added on map simultaneously

 

Would be good to have:

- zooming to cluster should show animated re-clustering

 

Here is how should it look like. Please also find attached video.

Screenshot 2025-06-03 at 15.30.39.png

 

Here are the screens for several layers added. Arrows show places where single cluster is expected.

EgorFedorov_0-1749195716204.pngEgorFedorov_1-1749195724345.png

 

0 Kudos
2 Replies
JenMerritt
Esri Contributor

Hey Egor, your overall review of the situation in terms of what we support is correct - we currently only display clusters as configured in a webmap, as well as enabling the toggle on/off of clustering.

 

The remainder of the feature reduction API - that enables you to define renderers and aggregation properties at the SDK level - is on our "to do" list for reaching parity with the other SDKs. I have noted your interest and requirements and we will keep this in consideration for prioritizing exposing these capabilities. Will keep you updated. Thanks for raising.

snlasystem
Occasional Contributor

For us this is an important feature. iOS and Google maps have this in many years. The users expect this!

0 Kudos