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

leaflet interactive layers position is distorted

Open saadatali48 opened this issue 1 year ago • 2 comments

Leaflet interactive layers position is distorted when we drag the map, when rotation is applied. How can we fix that.

saadatali48 avatar Oct 29 '24 08:10 saadatali48

The drag marker position is misplaced even though map rotate has been removed i.e. Bearing is set 0. and if we donot Pan the map when map is rotated, then the positions are corner markers is correct.. So I there is some CSS transform issue, when we rotate the map, and drag it.. and on resetting back to North, (0 bearing), wont align transform markers positions.

image

saadatali48 avatar Oct 29 '24 08:10 saadatali48

Do you have a code example to share and test?

Oxalin avatar Sep 29 '25 06:09 Oxalin