Overlapping Clusters despite high clusterRadius

623
5
01-13-2022 08:13 AM
PauloRicca
New Contributor II

Hi everyone,

I think we're seeing a bug with feature reduction, where in some rare but consistent places, the clusters overlap at certain zoom levels, despite having a high clusterRadius configured (150px):

PauloRicca_0-1642090166516.png

These are "real clusters", not ghost images as other people have reported on this forum, which we've also seen on earlier versions of arcgis js. Overall clustering behaviour seems to have been generally improving over the last few arcgis js versions, but this one has been lingering, still happening on 4.22.0.

Is this happening to anyone else and do you know any way of going around it?

Thanks in advance!

Paulo

0 Kudos
5 Replies
KristianEkenes
Esri Regular Contributor

Hey Paulo,

Can you send a link to a simple test application in a codepen so we can reproduce the issue?

Thanks,

Kristian

0 Kudos
PauloRicca
New Contributor II

Hi Kristan,

 

Thanks for getting back to me. Unfortunately, it's not very simple to show our exact problem on a codepen as the data is confidential but if you go on this page: https://developers.arcgis.com/javascript/latest/sample-code/featurereduction-cluster/ I can see the same problem happening with a radius set to 100px:

PauloRicca_0-1642151418863.png

 

0 Kudos
KristianEkenes
Esri Regular Contributor

Ah yes. That is a known issue. Some of the clusters are broken apart on tile boundaries. We have an open ticket for fixing this, but no timeline has been set for it. I'll link this thread to the issue. Thanks for bringing it up again.

KristianEkenes
Esri Regular Contributor

This should be fixed in the next update of the JS API (v4.29).

0 Kudos
KristianEkenes
Esri Regular Contributor

You can test it out using https://js.arcgis.com/next/

0 Kudos