Leaflet.RotatedMarker icon indicating copy to clipboard operation
Leaflet.RotatedMarker copied to clipboard

Rotation applied multiply times when I'm zooming map

Open gallyamow opened this issue 3 months ago • 0 comments

Hi. Rotation applied multiply times when I'm zooming map

When I inspect marker on the "Elements" tab in Chrome DevTools, I saw that rotateZ(45deg); added multiply times.

<img src="icon.png" class="leaflet-marker-icon leaflet-zoom-hide leaflet-clickable" tabindex="0" style="margin-left: -17.5px; margin-top: -17.5px; width: 35px; height: 35px; left: 731px; top: 475px; z-index: 475; transform-origin: center center; transform: rotateZ(45deg) rotateZ(45deg);">


gallyamow avatar Nov 15 '24 14:11 gallyamow