Is there any way to move the center (centroid) of a circle/polygon to a new X/Y on the map, such as the current mouse location?
I have a solution that I found at https://csharp.hotexamples.com/examples/-/PolygonBuilder/-/php-polygonbuilder-class-examples.html under example #5 (CreateSearchPolygon), but unfortunately this causes too much overhead on the mouse move event that I am using. There is a good amount of asynchronous code that is running, which causes major slow downs. With that being said, there must be a simple solution that simply gets the new mouse point and moves the circle/polygon to that location. It seems like an easy thing to do and should remove the need for any asynchronous code. I just don't know what that solution would be.
Any assistance would be greatly appreciated.