Select to view content in your preferred language

Feature request: clustering on arbitrary FeatureLayer

272
4
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
4 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
JenMerritt
Esri Contributor

We understand the importance clustering, and it is already available in our other Native Maps SDKs. We met early requirements with the Flutter SDK to display clusters defined in a web map, but we are now looking to prioritize exposing the definition of clustering at application level in the Flutter SDK in our next release.

As always, as we work through this journey of exposing the Native Maps SDK capabilities in the Flutter SDK, keep feeding back which capabilities are most important to you so that we can take this into consideration in our planning. Thanks!

0 Kudos
EgorFedorov
Occasional Contributor

Hi, Jennifer.

Thank you for keeping this on your radar!

My requirements are still the same, as described above. In general, I am not sure I can add anything else. Except that single clustering for several feature layers may be omitted since it should be quite hard to implement.

If you have any particular questions, please feel free to reach me out.

 

Thanks!