Skip to content
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

Rotation of an intersecting polyline #1498

Open
osyka-yuri opened this issue Jun 6, 2024 · 1 comment
Open

Rotation of an intersecting polyline #1498

osyka-yuri opened this issue Jun 6, 2024 · 1 comment
Labels

Comments

@osyka-yuri
Copy link

If you draw an hourglass-shaped element, the center of rotation is incorrectly defined.

screencast

@Falke-Design
Copy link
Collaborator

In the background we always convert the layer to a polygon and then using its center. Here is a Leaflet core problem with the polygon center calculation

https://plnkr.co/edit/N60dXAzFbVUdy86B

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants