terra-draw icon indicating copy to clipboard operation
terra-draw copied to clipboard

The circle is scaled repeatedly, causing irregular shape problems.

Open Thunder7991 opened this issue 1 year ago • 0 comments
trafficstars

          > ## Description of Changes

It was not taking into account that the center was the geodesic center and not the web mercator center. This caused movement of the polygon as it was resized.

Link to Issue

Potentially resolves #243 but hard to say without more feedback.

PR Checklist

  • [x] There is a associated GitHub issue
  • [x] If I have added significant code changes, there are relevant tests
  • [ ] If there are behaviour changes these are documented

Hey, @JamesLMilner . Now the scaling effect experience for the circle has been improved, but if the circle is scaled to a very small time to zoom again, repeated operations, there will be circular irregularities. Repeated testing will cause this problem.

Originally posted by @Thunder7991 in https://github.com/JamesLMilner/terra-draw/issues/244#issuecomment-2095124409

Thunder7991 avatar May 06 '24 03:05 Thunder7991