Spidify Cluster / Expand Cluster at max zoom

246
1
12-22-2022 10:15 AM
EsriCIiff
New Contributor

Hi all, 

Is there a way to spidify a cluster in ArcGIS JS, similar to what you can do with a Cluster using leaflet ?

EsriCIiff_0-1671732770618.png

 

It's quite handy to get access to all the features that would otherwise overlap each other, and I'm able to access their individual popups.

 

Thank you!

Tags (2)
0 Kudos
1 Reply
KristianEkenes
Esri Regular Contributor

No. This feature isn't available in ArcGIS. The equivalent functionality is browse features, which allows you to view the titles of all popups in a cluster, click to view the individual feature's popup and view it's actual location on the map. 

You can also use alternate approaches to clustering if you want the "flare" behavior. Here's one available on GitHub: https://github.com/nickcam/FlareClusterLayer And an example: http://flareclusterlayer.azurewebsites.net/index_v4.html . The images below show the default behavior in the JS API. Note the symbol for the selected feature in the browse action is too small to really see. That is because it uses the symbol directly set on the layer's style. To see it better, just bump up the size of the symbol.

KristianEkenes_0-1672341739718.png

KristianEkenes_1-1672341925150.png

 

0 Kudos