I currently have a webmap which displays a layer generated from responses in Survey123. In the survey users draw a polygon indicating the area of their response.
In the webmap I would like to display these polygons, as well as points (i.e. the polygon centroid) for each response. The points are clearer to see at a high level and are a better choice for pop-ups.
Currently I have two copies of the polygon layer (public view version) in the webmap and I'm using the 'Color and Size' style option to make one of the layers 'appear' as points. The issue with this is that I can't utilise features specific to point layers such as clustering.
Instead I would like to generate a genuine point layer which references all the data from the polygons, and uses the centroid as the point co-ordinates. I know this is something that can be done manually from the layer, but I'd like the points to continue to populate as responses are submitted and new polygons appear.
Is there a mechanism by which this can be done? The only thing I can think of would be utilising a notebook which perhaps is triggered by a survey response, but I'm not familiar with notebooks and I'm unsure about how to go about this and if the credit usage will be reasonable.