Select to view content in your preferred language

4.25 cluster labels on two different layers

531
2
02-16-2023 05:21 AM
dwalusza_gispartner_pl
New Contributor

There is no rule for resolving label conflicts for two cluster layers on one map. Sometimes label from green cluster is on the top, sometimes is invisible.
For both layers deconflictionStrategy is "none". On the layer list, blue clusters layer is above green one. The smallest green circle is also a cluster (single object has different symbology).

dwalusza_gispartner_pl_0-1676553376255.png

dwalusza_gispartner_pl_1-1676553382344.png

 

0 Kudos
2 Replies
Noah-Sager
Esri Regular Contributor

Hi @dwalusza_gispartner_pl, thanks for posting this issue. This might be due to the deconflictionStrategy being set to "none". Does it behave as expected when the deconflictionStrategy is set to "static"?

0 Kudos
Laurence33
New Contributor

This resolves cluster labels on two different layers not overlapping other clusters. However doesn't seem to help with labels overlapping non clustered features.

For example:

  • redClusterLayer with static deconflictionStrategy -  top layer, features are blue circles
  • greenClusterLayer with static deconflictionStrategy -  bottom layer

When a the cluster of features on the redLayer is above a cluster of features from the green layer, the bottom level label is hidden.

Laurence33_1-1696228791492.png

But when only features are above the cluster the label doesn't respect the layer its on (exaggerated label size example but is quite confusing when a feature is exactly on top of a cluster.

Laurence33_3-1696228994347.png

Any way to resolve this?

0 Kudos