How can I create cartographic polygon according to my own points array at runtime?

I’m trying to create cartographic polygon based on my mouse click.I can obtain a vector array through channel line tracing, but how should I attach this vector array to Polygon Raster OverLay?
Or do you have a better way to help me achieve similar functions?
Sincere thanks to everyone.


I believe I had a similar question a few months ago. Here is a link to the topic: Can Exclusion Zones Be Updated at Runtime?

Let me know if this is helpful for your use case.

Oh,I think I have solved the porblem from your experience,big thanks!

1 Like

Happy to help! Feel free to reach out if you have any other questions!