Hi everyone,
We are using feature reduction on a map that we also add graphics to, and the cluster label number always seems to appear over the other graphics. Do you know if there's a way of controlling this drawing order?
here the clusters are the white circles and the blue marker is the graphic we're adding with mapView.graphics.push
Thanks in advance!
Paulo
Solved! Go to Solution.
Hi @PauloRicca, this is the expected behavior. The labels will always draw on top. If you want the labels to not be drawn on top, and be part of the feature itself, then you would need to use CIM.
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html
Hi @PauloRicca, this is the expected behavior. The labels will always draw on top. If you want the labels to not be drawn on top, and be part of the feature itself, then you would need to use CIM.
https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-CIMSymbol.html
Hi Noah,
Thanks for your reply. Do you mean using a CIMSymbol instead of the blue marker or as an alternative to the cluster symbols in a custom implementation of clustering?
I mean use CIM as an alternative to the cluster symbols so that graphics show-up on top.
I see, thanks I'll try that!