-
-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Geodesic circles can be drawn but not moved or resized #436
Comments
I would also expect the radiusKilometers property to be updated when the shape is resized. I'm thinking maybe circles should have special logic for updating them in the select mode? If that is the right path forward, we might also want to store the center point in properties as well. |
Actually, I have figured out how to override the select mode's
|
Describe the bug
TerraDrawCircleMode can be configured to create geodesic circles (projection: globe). However, once the circle is created, it cannot be moved or resized via TerraDrawSelectMode such that it stays geodesic. The documentation alludes to this, but this seems like something that needs to be fixed for geodesic circles to be useful.
Terra Draw npm version
1.0.0
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The circle should be continuously re-shaped to the correct projection as it is moved or resized.
The text was updated successfully, but these errors were encountered: