I am currently working on a web application using Azure Maps along with the DrawingManager library. My goal is to allow users to save a drawn rectangle and potentially edit it by resizing later on. The strange thing is that while resizing rectangles works fine right after adding them, there seems to be an issue when shapes are added programmatically, causing the rectangle to become distorted.
This issue can even be replicated in the provided online example: when attempting to resize a rectangle.
https://i.sstatic.net/Q10F4.png
If anyone has encountered this problem before and has found a solution or workaround, I would greatly appreciate any insights.