Leaflet.RotatedMarker
Leaflet.RotatedMarker copied to clipboard
Rotation applied multiply times when I'm zooming map
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);">