leaflet-geoman
leaflet-geoman copied to clipboard
Rotation of an intersecting polyline
trafficstars
If you draw an hourglass-shaped element, the center of rotation is incorrectly defined.
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