Raruto / leaflet-rotate

Leaflet plugin that allows to add rotation functionality to map tiles
GNU General Public License v3.0
80 stars 22 forks source link

leaflet interactive layers position is distorted #60

Open saadatali48 opened 1 day ago

saadatali48 commented 1 day ago

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

saadatali48 commented 1 day ago

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