leaflet-geoman icon indicating copy to clipboard operation
leaflet-geoman copied to clipboard

Rotation of an intersecting polyline

Open osyka-yuri opened this issue 1 year ago β€’ 1 comments
trafficstars

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

screencast

osyka-yuri avatar Jun 06 '24 14:06 osyka-yuri

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

Falke-Design avatar Jul 28 '24 19:07 Falke-Design