Hello,
I'm looking for a way of showing in a clear way to anyone viewing this map that there are multiple polygons (campaigns) in one location which isn't immediately obvious unless you click through the pop ups.
There seems to be a limitation in AGOL that polygons cannot be clustered in maps at present. I have seen a seperate enhancement idea for this on the forum.
However, I need to get around this and the simplest way seems to be to create a label expression using Arcade which indicates the number of overlapping polygons in that layer. Many polygons will have identical centroids which is why they do not show unless you click through the pop ups. To make the view less cluttered I have created an integer field called 'points' with a default value of 1 which is mapped to show psuedo points without having to create another layer.
I have tried a few different methods using an intersect and have got none of them to work with a label. I'd really appreciate if someone could help me write this expression.
I think the method would be something like this:
// Write script to get the number of overlapping polygons and label the top polygon with the number of total features
//1. count intersecting polygons
//2. return a label with number of total polygons that overlap in that location + "campaigns"
Thank you
